Skip to main content

Easing

UI Design

What is Easing

Easing is the way an animation changes speed over time. Instead of moving at a constant rate, an eased element speeds up or slows down, so the motion looks natural, like objects in the physical world.

Types of Easing

  • Linear: Constant speed. It usually looks mechanical in UI
  • Ease-in: Starts slowly, then speeds up
  • Ease-out: Starts fast and slows down at the end
  • Ease-in-out: Slow at both ends, fastest in the middle

When to use Easing

Use ease-out for most UI motion, especially for elements that enter the screen. It feels responsive and lets the eye follow the element as it stops. Ease-in can suit elements that leave the screen. Keep most animations between 100 and 500 ms.

How Easing is specified

Each platform writes easing in its own way: cubic-bezier() in CSS, named curves on iOS and Android, and percentage values in After Effects. Material Design defines easing tokens, such as a standard curve of cubic-bezier(0.2, 0, 0, 1).

Frequently asked questions

What is the difference between ease-in and ease-out?

Ease-in starts slowly and speeds up. Ease-out starts fast and slows down at the end. Ease-in-out is slow at both ends and fastest in the middle.

Which easing should UI animations use?

Ease-out in most cases. It feels responsive because it starts fast, and it slows down so the eye can follow the element as it comes to rest. Ease-in can work for elements leaving the screen.

How long should a UI animation be?

NN/g suggests 100 to 500 ms for most UI animations. Simple feedback, such as a toggle, needs about 100 ms, and larger changes, such as a modal opening, about 200 to 300 ms.