All motion keywords
Flairtilt-3d

3D tilt

Card tilts in 3D toward the cursor — depth on hover.

hover me
tap / hover to play
import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";

const x = useMotionValue(0);
const y = useMotionValue(0);
const rotateX = useSpring(useTransform(y, [-0.5, 0.5], [12, -12]), { stiffness: 250, damping: 20 });
const rotateY = useSpring(useTransform(x, [-0.5, 0.5], [-12, 12]), { stiffness: 250, damping: 20 });

<motion.div
  onPointerMove={(e) => {
    const r = e.currentTarget.getBoundingClientRect();
    x.set((e.clientX - r.left) / r.width - 0.5);
    y.set((e.clientY - r.top) / r.height - 0.5);
  }}
  onPointerLeave={() => { x.set(0); y.set(0); }}
  style={{ rotateX, rotateY, transformPerspective: 800 }}
/>

How to use it

Copy-paste

Grab the code above and drop it onto any motion.* element.

Or name it

In Claude Code / Cursor, run /ss-motion tilt-3d and the recipe lands in your code.

Personality

Pairs naturally with the silk seed (smooth, elegant).

Related Flair moves

20+ named motion moves
All copy-paste, all in StyleSeed’s design engine. MIT.