Skip to content

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.

bytomfrom Spell

Loading preview

Installation

terminal
pnpm dlx layro-cli add @xxtomm/tilt-card

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 7, 2026

    First release.

Similar components