Hovercard2
Hovercard2 is a React and Tailwind CSS card component from UI Layouts, licensed MIT. Copy it and paste it into your project.
UI Layouts
MIT
cards
What it is
Hovercard2 is a React and Tailwind CSS card component from UI Layouts, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
Needs
npm i motion
Licence
This component comes from UI Layouts and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Hovercard2
import { ArrowBigDown, ArrowRight, ChevronRight, Heart, MoveUpRight } from 'lucide-react';
import Image from 'next/image';
import React, { useState } from 'react';
function HoverCard2() {
return (
<>
<div className='w-[400px] relative mt-4 h-[430px] group mx-auto dark:bg-black bg-white dark:border-0 border rounded-md dark:text-white text-black flex flex-col'>
<div className='w-full rounded-t-md h-[350px] group-hover:h-[410px] overflow-hidden transition-all duration-300'>
<Image
src={'/naymur.png'}
alt='shoes'
width={600}
height={600}
className='h-full w-full scale-105 group-hover:scale-100 grayscale group-hover:grayscale-0 object-cover transition-all duration-300'
/>
</div>
<article className='relative overflow-hidden grow'>
<div className='info p-2 translate-y-0 group-hover:-translate-y-20 transition-all duration-300'>
<p className='md:text-2xl font-semibold'>Naymur Rahman</p>
<p className='sm:text-base text-sm'>CEO & Design Engineer</p>
</div>
<button className='absolute h-10 -bottom-8 opacity-0 group-hover:opacity-100 cursor-pointer group-hover:bottom-3 text-3xl font-medium transition-all duration-300 w-full text-center'>
CEO & Design Engineer
</button>
</article>
</div>
</>
);
}
export default HoverCard2;