bloxa

Tilt Card

FREE

Card 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-card

Packages installed automatically: motion

Examples

Image card

Desert dunes at sunset
Wadi RumMove the cursor across the card.

API reference

Every component also accepts the props of the element it renders.

TiltCard

PropTypeDefaultDescription
maxnumber10Max tilt in degrees.
scalenumber1.02Hover scale.
glarebooleantrueGlare.