Animated Card Hover
Hover tilt card with optional glare and depth effect.
3D Effect
Interactive Tilt
Move your cursor to see the card tilt with a subtle glare.
No Glare
Subtle Motion
A gentler tilt effect without the glare overlay.
Dependencies
- clsx
- tailwind-merge
- framer-motion
Files
- components/ui/animated-card-hover.tsx
Installation
Using shadcn CLI
npx shadcn add animated-card-hover --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge framer-motionRelated Cards Components
Ambient Glow Card
A feature card with a rotating ambient aura for premium highlights.
Animated Gradient Border Card
Card with a rotating gradient border for premium emphasis.
Bento Card
Card component for bento grid layouts. Supports multiple sizes (1x1, 2x1, 1x2, 2x2) with optional gradient backgrounds.
Bento Grid
Asymmetric bento layout tiles with ambient glow and shine animations.
Card
Flexible card container with header, content, and footer sections.
CTA Banner
A call to action banner with headline, supporting copy, and primary or secondary actions.