Skip to content

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

TokenDurationUsed for
--duration-press120msButton press and release
--duration-hover150msHover and color changes
--duration-popover180msMenus, selects, popovers
--duration-dialog240msDialogs and their backdrop
--duration-toast400msToasts, 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.