Skip to content

Easing editor

Shape a cubic Bézier curve or a spring, watch it move, and export it for CSS, Tailwind, design tokens or Motion. Everything runs in your browser, and the link keeps your curve.

Runs in your browserCurves and springsLive preview

Curve

Kind
Time →Progress ↑

Drag a handle, or focus it and use the arrow keys (Shift for bigger steps). The fields below take exact values.

cubic-bezier(), a CSS keyword, [a, b, c, d] or four numbers.

50 to 5000.

Gives --ease-smooth and duration-smooth.

Presets

CSS keywords

ExonUI design system

Overshoot

Springs

Preview

Move
Scale
Fade
400 ms

Progress at equal moments

Progress at 11 equal moments of the animation
TimeProgress
0 ms0%
40 ms40%
80 ms67%
120 ms83%
160 ms92%
200 ms96%
240 ms98%
280 ms99%
320 ms100%
360 ms100%
400 ms100%

Checks

  • Eases out: quick at first, then slows into placeSuits things that arrive, such as menus, dialogs and toasts.Note
  • Stays between the start and the endEvery property shows the curve as drawn.Pass
  • Lasts 400 msUnder 5 s. Moving content that starts by itself and lasts longer needs a pause control (WCAG 2.2.2).Pass
  • ease-smooth is a new nameIt doesn't replace one of Tailwind's default curves.Pass

These describe the curve. How it feels depends on what moves and how far, so try it on the real thing.

Export

smooth-theme.css
/* Easing "smooth": cubic-bezier(0.22, 1, 0.36, 1) over 400ms. Use ease-smooth and duration-smooth. */
@theme {
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-duration-smooth: 400ms;
}

How it works

Curves

A cubic-bezier(x1, y1, x2, y2) runs from (0, 0) to (1, 1): across is time, up is progress. The two handles pull the curve towards them. Each x must stay between 0 and 1, or CSS rejects the curve; y can go past either end, which makes the motion overshoot or pull back first. The editor takes y from -1 to 2.

The shape check reads where the curve is halfway through the time. A curve already past 60% there eases out: most of the change happens early, and it slows into place, which suits things arriving. Under 40% it eases in, which suits things leaving. In between, the ends decide.

Springs

A spring here is a weight on a spring moving from rest, as Motion runs it: stiffness pulls it to the end, damping slows it, mass makes it heavier. A damping ratio under 1 bounces past the end; 1 and above doesn't. It counts as settled once it stays within 0.1% of the end, and that time is its duration.

CSS can't run a spring, so the CSS and Tailwind exports write it as linear(): straight lines between points, chosen so they never stray more than 0.002 from the spring. Every current browser supports linear(); one that doesn't ignores the declaration and keeps the one before it.

The preview

The preview plays with the browser's own animation engine and the exact value the exports write, so what you see is what you copy. The fade lane shows how opacity clamps: past the end of the curve it simply stays at 1, while movement and scale overshoot. Nothing plays until you press Play or choose a preset, and presets don't play by themselves when your device asks for less motion.

Motion and accessibility

Some people get dizzy or sick from movement on screen. Keep large movement for things that need it, and turn it off under prefers-reduced-motion: reduce, keeping fades and colour changes. Anything that moves for more than 5 seconds and starts by itself needs a way to pause it.

The exports

The Tailwind export is a @theme block for Tailwind CSS v4: --ease-smooth gives ease-smooth, and --transition-duration-smooth gives duration-smooth. A name of in, out or in-out replaces one of Tailwind's defaults.

The DTCG export uses the 2025.10 format: a cubicBezier token, a duration and a transition that refers to both. The format has no type for a spring, so springs don't get a DTCG file. The JavaScript export gives Motion's options and the same curve for element.animate(). Open the DTCG file in the token converter to turn it into other formats.

Why this page is quieter

The rest of this site animates with GSAP, whose licence doesn't allow it in tools for building animations. So this page uses only CSS and the browser's animation engine, and scrolls natively.

Not covered yet

  • steps(), keyframes, and bounce or elastic curves built from several parts.
  • More than one curve at a time, and export to other animation libraries.