Tilt Card
FREECard that tilts in 3D toward the cursor with spring physics and a glare highlight.
Installation
Terminal
npx @bloxa/cli add tilt-card
# or: npx shadcn@latest add @bloxa/tilt-cardPackages installed automatically: motion
Examples
Image card
Wadi RumMove the cursor across the card.
API reference
Every component also accepts the props of the element it renders.
TiltCard
| Prop | Type | Default | Description |
|---|---|---|---|
| max | number | 10 | Max tilt in degrees. |
| scale | number | 1.02 | Hover scale. |
| glare | boolean | true | Glare. |