Foundations
Motion
Motion answers a press, shows where something came from, or bridges a change. Anything used a hundred times a day does not animate.
Curves
ease-outcubic-bezier(0.23, 1, 0.32, 1)ease-in-outcubic-bezier(0.77, 0, 0.175, 1)ease-drawercubic-bezier(0.32, 0.72, 0, 1)Try it
Press feedback is immediate. Popovers grow from their trigger. Repeat actions and keyboard-opened surfaces do not animate at all.
Pressscale(0.97) in 150 ms, ease-out, on pointer-down.
Origin-awareNever from zero scale; dialogs stay centered.
No animation Press ⌘KThe command palette opens instantly: it is used too often to make anyone wait.
Durations
| Token | Duration | Used for |
|---|---|---|
| --duration-press | 120ms | Button press and release |
| --duration-hover | 150ms | Hover and color changes |
| --duration-popover | 180ms | Menus, selects, popovers |
| --duration-dialog | 240ms | Dialogs and their backdrop |
| --duration-toast | 400ms | Toasts, slightly slower to feel elegant |
Source
Every value on this page is read from packages/tokens/src/index.ts, the same source that generates the CSS, the DTCG JSON and the React Native values.