Forest Adventure
Valley of life
Sala behta hi jayega
Camping is for pros
The road not taken

The First Rule
Installation
Run the following command
npx shadcn@latest add https://ui.aceternity.com/registry/focus-cards.json
Props
Component | Prop | Type | Description |
---|---|---|---|
Card | card | Card | The card object containing title and src properties |
Card | index | number | The index of the card in the array |
Card | hovered | number | null | The index of the currently hovered card, or null if no card is hovered |
Card | setHovered | React.Dispatch<React.SetStateAction<number | null>> | Function to update the hovered state |
FocusCards | cards | Card[] | An array of Card objects to be rendered |
Build websites faster and 10x better than your competitors with Aceternity UI Pro
With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.
Manu is a genius. He is open-minded, curious and deeply invested in the
projects he chooses to work on. He takes your vision and brings it to
life -- and is a true partner in th...
Meru Gokhale
Founder at Editorially, Editrix