Framework · Motion & interaction · 3 min read
Easing selection guide
Pick the curve from what the motion does: things arriving decelerate, things leaving accelerate, things moving on screen ease in and out, and only motion tied to time or a value runs linear. Then write it as a value or a token, never as a word.
Fast start, soft landing where the eye can find it.
Dialogs, menus, toastsSpeeds away; nobody needs to watch it go.
A panel closingStarts and stops on screen, so both ends are seen.
Reordering, a toggle knobOnly when an even speed is the information.
A progress bar, a timerWrite a value or a token: cubic-bezier(0.2, 0, 0, 1), never "smooth".
Use it when
- You set the easing for a new component and the tool's default is
easeor linear. - A dialog or a toast feels sluggish even though its duration is short.
- A product has a different custom curve on every component and you want two or three.
How to use it
- Say what the motion does. Does the thing arrive, leave, move from one place to another on screen, or track time or a value? Colour and opacity changes count separately. Output: one of four kinds for each animation.
- Pick the curve family. Arriving: ease-out, decelerate. Leaving: ease-in, accelerate. Moving on screen: ease-in-out, standard. Time or a value (a progress bar, a timer, a spinner): linear. Colour and opacity: ease-out or plain
ease. Output: a family per animation. - Take the value from your product's set. Keep two or three named curves for the whole product: arrive, leave, move. If you have none yet, start from a design system's tokens, for example Material Design 3's
standardcubic-bezier(0.2, 0, 0, 1). Output: one curve value per animation. - Pair it with a duration. Easing without duration is half a spec. A slow curve can't fix a long duration, and a long duration can't hide a bad curve. Output: duration and easing written together.
- Check the two classic mistakes. No ease-in on anything that appears, and no linear on anything that moves across the screen. Output: entrances that respond, moves that don't look robotic.
- Write the value or the token.
cubic-bezier(0.2, 0, 0, 1)ormotion.easing.move, never "smooth". Agree the format with developers first: named curves on Android, values in CSS. Output: a spec a developer can paste.
Worked example
In a task app for small teams, the "Task saved" toast felt slow, though it lasted only 250 ms. It used ease-in, so its first frames barely moved after the click. The team set three curves for the product and mapped every animation to one:
| Animation | Kind | Curve | Value |
|---|---|---|---|
| The toast and the detail panel come in | Arrive | motion.easing.arrive |
cubic-bezier(0, 0, 0, 1) |
| The toast and the panel go out | Leave | motion.easing.leave |
cubic-bezier(0.3, 0, 1, 1) |
| A task is dragged to a new place in the list | Move | motion.easing.move |
cubic-bezier(0.2, 0, 0, 1) |
| The file upload bar fills | Time or value | linear |
linear |
The toast kept its 250 ms and stopped feeling slow. The duration had never been the problem.
Watch out for
- Ease-in on entrances. The first moment after the click barely moves, so the interface feels like it hesitated.
- Linear across the screen. One speed and a dead stop look mechanical. Linear is right only when even speed is the information.
- A custom curve per component. Twelve curves that are almost the same is the same as no system.
- Handing over a video. Nobody can read a curve off a video. Send the value.
Template
Copy this into the motion section of your design system.
Easing set (two or three curves for the whole product)
Token Value Use for
motion.easing.arrive cubic-bezier(0, 0, 0, 1) things coming in: dialogs, menus, toasts, panels
motion.easing.leave cubic-bezier(0.3, 0, 1, 1) things going out
motion.easing.move cubic-bezier(0.2, 0, 0, 1) things moving on screen: reorder, toggle knob
linear linear progress bars, timers, spinners only
Spec line for each animation:
<element> · <property> · <from → to> · <duration token> · <easing token>
- Disney Animation: The Illusion of LifeFrank Thomas and Ollie JohnstonBook · 1981 (Amazon)
- Designing Interface AnimationVal HeadBook · 2016 (Amazon)
- Executing UX AnimationsNN/g (external site)
- easing-functionMDN (external site)
- Easing and duration tokensMaterial Design 3 (external site)
"See on Amazon" links are affiliate links. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.