📐Motion Token
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
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);
}Common mistake
Key takeaways
- 1Duration and easing. How long, and how the speed changes.
- 2Named by use. Short, medium and long, not raw numbers.
- 3One change, everywhere. Edit the token and every part follows.