Add to Chrome
Add to Chrome

Cubic-bezier generator and easing visualizer

Drag the two handles to shape an easing curve and watch it move live: sliding, scaling, fading or turning, next to a linear one. Copy it as cubic-bezier() for CSS, as a Tailwind class or as a JavaScript array.

timeprogress
Your curve
Linear
CSS
Tailwind
JS

How to make a cubic-bezier easing

  1. Start from a preset, such as ease-out, or pick a named easing like easeOutQuart from More easings.
  2. Drag the two handles, or type four numbers. The curve shows progress (up) over time (right); a steep start feels fast, a flat end feels soft.
  3. Watch it live: the shape slides, scales, fades or turns with your curve, next to a linear one. The dot on the curve follows the same moment.
  4. Copy the value for CSS, as a Tailwind class or as an array for JavaScript libraries such as Framer Motion and GSAP.

Reading an easing curve

The two handles are the four numbers of cubic-bezier(x1, y1, x2, y2). The x values are time and stay between 0 and 1; the y values are progress and can go below 0 or above 1 to make the motion pull back or overshoot and settle, which is how springy buttons and menus are made.

  • Ease out starts fast and slows down: best for things that appear, such as menus, toasts and modals.
  • Ease in starts slow and speeds up: best for things that leave the screen.
  • Ease in-out is slow at both ends: best for things that move from one place to another.
  • Back easings go slightly past the end and come back: a playful bounce for small elements.

Cubic-bezier values of common easings

The standard CSS keywords and the named easings most motion libraries use, with their exact cubic-bezier() values. Click Try it to load one into the editor.

EasingCSS value
easecubic-bezier(0.25, 0.1, 0.25, 1)Try it
ease-incubic-bezier(0.42, 0, 1, 1)Try it
ease-outcubic-bezier(0, 0, 0.58, 1)Try it
ease-in-outcubic-bezier(0.42, 0, 0.58, 1)Try it
easeInSinecubic-bezier(0.12, 0, 0.39, 0)Try it
easeOutSinecubic-bezier(0.61, 1, 0.88, 1)Try it
easeInOutSinecubic-bezier(0.37, 0, 0.63, 1)Try it
easeInQuadcubic-bezier(0.11, 0, 0.5, 0)Try it
easeOutQuadcubic-bezier(0.5, 1, 0.89, 1)Try it
easeInOutQuadcubic-bezier(0.45, 0, 0.55, 1)Try it
easeInCubiccubic-bezier(0.32, 0, 0.67, 0)Try it
easeOutCubiccubic-bezier(0.33, 1, 0.68, 1)Try it
easeInOutCubiccubic-bezier(0.65, 0, 0.35, 1)Try it
easeInQuartcubic-bezier(0.5, 0, 0.75, 0)Try it
easeOutQuartcubic-bezier(0.25, 1, 0.5, 1)Try it
easeInOutQuartcubic-bezier(0.76, 0, 0.24, 1)Try it
easeInQuintcubic-bezier(0.64, 0, 0.78, 0)Try it
easeOutQuintcubic-bezier(0.22, 1, 0.36, 1)Try it
easeInOutQuintcubic-bezier(0.83, 0, 0.17, 1)Try it
easeInExpocubic-bezier(0.7, 0, 0.84, 0)Try it
easeOutExpocubic-bezier(0.16, 1, 0.3, 1)Try it
easeInOutExpocubic-bezier(0.87, 0, 0.13, 1)Try it
easeInCirccubic-bezier(0.55, 0, 1, 0.45)Try it
easeOutCirccubic-bezier(0, 0.55, 0.45, 1)Try it
easeInOutCirccubic-bezier(0.85, 0, 0.15, 1)Try it
easeInBackcubic-bezier(0.36, 0, 0.66, -0.56)Try it
easeOutBackcubic-bezier(0.34, 1.56, 0.64, 1)Try it
easeInOutBackcubic-bezier(0.68, -0.6, 0.32, 1.6)Try it

How long an animation should take

Small interface motion feels right between 150 and 300 milliseconds; larger moves across the screen between 300 and 500. Longer than that and people start waiting for the interface. Use the duration slider to feel the difference with your curve.

Copying the easing of a real website

To use the exact motion of an animation you like, select it on the page with Design Toolkit and open its Animations section. It shows the duration, delay, easing curve and keyframes, and copies them for an AI assistant.

Copy the animation of any website. Design Toolkit shows the duration, easing curve and keyframes of any animation on the live page and copies them for an AI assistant. How it works

Questions

What is cubic-bezier in CSS?

A timing function that sets how an animation or transition speeds up and slows down, written as cubic-bezier(x1, y1, x2, y2).

What is the cubic-bezier of easeOutQuart?

cubic-bezier(0.25, 1, 0.5, 1). It starts fast and settles softly, a good default for things that appear.

What is the cubic-bezier of easeInOutCubic?

cubic-bezier(0.65, 0, 0.35, 1). It is slow at both ends and fast in the middle.

How do I use a custom easing in Tailwind?

Use an arbitrary value such as ease-[cubic-bezier(0.22,1,0.36,1)] on the element, together with transition and duration classes.

How do I use a cubic-bezier in Framer Motion or GSAP?

Framer Motion takes the four numbers as an array, for example ease: [0.22, 1, 0.36, 1]. In GSAP, use the CustomEase plugin or the same values with the CSS string.

Can the y values be negative or above 1?

Yes. They make the motion pull back or go past its end and come back. The x values must stay between 0 and 1.

Stop guessing. Get the exact design of any website.

Hover for the real CSS, pull its colors into Figma, or give your AI the code of a whole section.

Add to Chrome
No accountRuns locally14-day refund