Motion

How things move, quickly and only when something changes.

Durations

TokenTimeUsed for
--dur-instant80msHover and press color
--dur-fast140msSwitch, chip, tooltip, closing
--dur-base200msPopover, menu, tab underline
--dur-slow280msDialog or sheet opening
--dur-spin900msOne turn of the spinner

By job

JobTimeWhat moves
Enter--dur-baseA menu, popover or tooltip fades in from --scale-enter, on --ease-out
Exit--dur-fastIt fades out to --scale-enter, on --ease-in
Overlay--dur-slowA dialog fades and scales in; a sheet slides from its edge
Collapse--dur-baseA panel's height, the one place height moves
Press--dur-instantColor, and scale to --scale-press

Tokens

9 tokens
--dur-instant
80ms
--dur-fast
140ms
--dur-base
200ms
--dur-slow
280ms
--dur-spin
900ms
--ease-out
cubic-bezier(0.16, 1, 0.3, 1)
--ease-in
cubic-bezier(0.4, 0, 1, 1)
--scale-enter
0.97
--scale-press
0.98

Install

For your coding agent

GitHub

Please star me pookie

141

A new design system every week

Leave your email before you copy the prompt.