Skip to content
Menu

Cards

Tilt card

Tilt card: A content card that rotates in 3D toward the pointer with a moving glare, lifts while engaged, and springs back to level when the pointer leaves.

Using Tilt card

Tilt card uses the card preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
maxTiltnumber14From 5 to 25; step 1
glarebooleantrueNo additional limit in the metadata.
liftnumber1.04From 1 to 1.08; step 0.01
Which frameworks are available for Tilt card?

Tilt card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Tilt card depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Tilt card?

The React source for Tilt card includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Tilt card handle reduced motion?

Tilt card reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: rise: reduced ? 1 : lift; swing: reduced ? maxTilt * 0.3 : maxTilt. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components