Tilt Card
A 3D tilt card that rotates based on cursor movement. It includes a perspective effect and a spotlight that appears on hover. Use it to add interactive visual effects to card components. The card responds to pointer events and adjusts its transform accordingly.
Loading preview
Installation
terminal
npx layro-cli add @xxtomm/tilt-card
npx layro-cli add @xxtomm/tilt-card
bunx layro-cli add @xxtomm/tilt-card
New project? Start with init. Writes third-party code and installs packages with scripts off.
Code
Sign in to see the code
Free, with GitHub, Google or email. The install command above works without an account.
Sign inVersions
1.0.0 · current
Nov 7, 2026
First release.







