Skip to content

CSS easing functions, in motion.

29 curves, from the five CSS keywords to back's overshoot. Shape your own, watch it move, and copy it as CSS, a Tailwind class or a @theme variable.

Shape a curve

Drag the two handles, or type the numbers. Four motions run your curve at once, beside a linear ghost, then copy it as CSS, a Tailwind class or a theme variable.

  • Move
  • Scale
  • Rotate
  • Fade
800 ms
CSS
cubic-bezier(0.16, 1, 0.3, 1)
Tailwind class
ease-[cubic-bezier(0.16,1,0.3,1)]
Theme variable
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

29 curves, from linear to back

The five CSS keywords, then 8 classic families in, out and in-out. Hover one to watch it move; pick one to shape it in the playground.

29 curves shown.

Every curve as a Tailwind class

Paste one @theme block, and every named curve is a class: ease-out-expo, ease-in-out-back and the rest. Tailwind's own ease-in, ease-out and ease-in-out stay as they are.

In your CSS, once

app/globals.css
@theme {
  --ease-in-sine: cubic-bezier(0.12, 0, 0.39, 0);
  --ease-out-sine: cubic-bezier(0.61, 1, 0.88, 1);
  --ease-in-out-sine: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-in-quad: cubic-bezier(0.11, 0, 0.5, 0);
  --ease-out-quad: cubic-bezier(0.5, 1, 0.89, 1);
  --ease-in-out-quad: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-in-cubic: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in-quart: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in-quint: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-in-circ: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-out-circ: cubic-bezier(0, 0.55, 0.45, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-in-back: cubic-bezier(0.36, 0, 0.66, -0.56);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-back: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

Then on anything that moves

components/card.tsx
export const Card = () => (
  <div className="transition duration-300 ease-out-expo hover:-translate-y-1">
    …
  </div>
);

// Or the variable, wherever CSS takes a timing:
// transition: transform 400ms var(--ease-in-out-quart);

Build it with Pro

The visualizer is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the motion for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

Frequently asked questions

Find answers to frequently asked questions about CSS easing functions, cubic-bezier curves, animation timing, and implementation best practices.

4.9 out of 5 from 150+ developers

Your motion, built for you

Every block, template and icon, installed by your AI agent in your theme. The visualizer stays free.

Get Pro