Components / effect
Tilt Card
A card that tilts in 3D toward the pointer with a soft glare, and settles flat when the pointer leaves.

Implementation
A card that tilts in 3D toward the pointer with a soft glare, and settles flat when the pointer leaves.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Loading source…
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A card that tilts in 3D toward the pointer with a soft glare, and settles flat when the pointer leaves.
Frequently asked questions
Does the tilt need an animation loop?
No. The pointer position is written to CSS variables and the browser draws the tilt, so nothing runs per frame.
Does the card tilt on touch screens?
No. Only a mouse tilts the card. Touch and pen leave it flat, and so does reduced motion.