3D Tilt Card

A card with 3D perspective tilt that follows the cursor, with inner elements floating at different depths.

Free
▲

Depth on demand

Every element inside this card sits at its own depth, so the whole thing tilts like it has real dimension.

Usage: paste this file into your project (e.g. components/tilt-card-3d.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.