Skip to content
BENIBIX Learn

Motion Token

Design📐 Design StandardsTokens and Themes

Also known as Animation Token, Duration Token, Easing Token

A named value for how things move: how long they take, and how the speed changes.

Think of it like

In a band, all the players keep to one beat. So they stay in time.

Example

Material Design names 16 durations, from 50 to 1000 milliseconds. Its standard easing is cubic-bezier(0.2, 0, 0, 1).

Why it matters

Motion that follows one set of rules feels calm and planned. Random timings feel cheap.

Definition

A motion token is a design token that stores how things move. One token holds a duration, like 150 milliseconds. Another holds an easing curve, the way the speed changes. Every part that moves uses the tokens instead of its own numbers. So menus, dialogs and alerts all move alike, and one change updates them all.

Example code

css
:root {
  --motion-duration-short: 150ms;
  --motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
}
.menu {
  transition: opacity var(--motion-duration-short) var(--motion-easing-standard);
}
Every menu uses the same two tokens, so they all open the same way.
One token sets the time for the menu, the dialog and the toast. All three move alike.

Common mistake

Typing a new time into each moving part by hand. Soon no two parts move alike.

Key takeaways

  1. 1
    Duration and easing. How long, and how the speed changes.
  2. 2
    Named by use. Short, medium and long, not raw numbers.
  3. 3
    One change, everywhere. Edit the token and every part follows.