Tilt 3d

From nexu-io/motion-anything · View interactive version

Tilt 3d is an AI agent skill from the GitHub repository nexu-io/motion-anything. Add tactile depth to a hero card or cover image: it tilts in 3D toward the pointer with a soft glare. Keep the max angle small (~10°) and reserve it for one or a few hero cards, not a grid. Flat under prefers-reduced-motion and on touch.

How to use this skill

Skill file

tilt-3d

A card that tilts in 3D toward the pointer. Part of

motion-anything; obeys MOTION-SPEC.md. Technique

popularized by vanilla-tilt.js, reimplemented dependency-free.

When to use it

When NOT to use it (restraint)

How to apply

  1. Copy tilt-3d.css and tilt-3d.js into the project, and link them.
  2. Mark the card:

```html

<div class="tilt" data-tilt-max="10"> … </div>

```

  1. Auto-attaches to .tilt. Keep data-tilt-max small (8–10). Resets flat on pointerleave.

Accessibility & performance

Framework notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.