Docs
Animated Card 2
Animated Card 2
An animated hover card that can showcase almost anything—it all comes down to the caption you choose.
Loading...
Installation
Install dependencies
npm install
Add utils file
lib/utils.ts
Copy the animated-card Component
animated-card.tsx
Copy the source code
animated-card/visual-2.tsx
Props
animated-card props
Prop | Type | Description | Default |
---|---|---|---|
className | String | Additional custom classes for styling the component. | - |
props | React.HTMLAttributes<HTMLDivElement> | Additional HTML attributes for the main div element. | - |
visual-2 props
Prop | Type | Description | Default |
---|---|---|---|
mainColor | String | Main color used for certain elements in the component. | "#8b5cf6" |
secondaryColor | String | Secondary color used for other elements in the component. | "#fbbf24" |
gridColor | String | Grid background color for the component. | "#80808025" |
Note
- Many more cards are coming in the future. If you need a card for a specific theme, feel free to send me a request. If it's something that could benefit many people, I'll build it.