Animation & motion
Fast and purposeful. Controls and surfaces stay under 300ms, a short spring slides the indicators, a rare moment earns the expressive role, and every animation respects reduced motion.
Roles
A role is a duration plus a curve. Components pick a role, never a number: kit parts take tiny, small or large, and ambient for a loop that shows work.
Every role
Each role on the job it is for, at its real speed. Try each one.
tiny50ms
duration-tiny ease-tiny
Hover the button, then move away
small150ms
duration-small ease-small
Flip the switch
large200ms in, 150ms out
duration-large ease-large
Open the popover, then close it
ambient2s loop
animate-pulse motion-reduce:animate-none
Runs until the content loads
expressive350ms in, 250ms out
duration-expressive-in ease-expressive
Export, and watch the check land in the button
All roles
What each role is for. Its timing and classes are in its card above.
Curves
Match the curve to the motion: entering and leaving decelerate, a move across the screen eases at both ends. Slowed to 800ms so the shapes show.
ease-small
Entering and leaving: decelerates into place
ease-in-out
Moving across the screen, and a bar tracking a value (300ms)
linear
Constant: progress bars, spinners
Patterns
Four things the kit's parts do in motion. Try each.
Press feedback
Buttons scale down a little on press. The bare variant and the block size do not.
Sliding indicators
The pill rides a short spring with no bounce and lands with its label's color fade. Tabs, Nav and SegmentedControl share it.
Stagger
A list that arrives staggers its rows 30 to 40ms apart, so the last starts within about 300ms. Past about eight rows, the rest arrive together. With reduced motion on, nothing staggers.
No empty frame
A state swap never shows a blank beat: the new state enters as the old one leaves. Copy the link and the label swaps in place; save and the label gives way to a spinner. Both hold their width.
Expressive motion
The fourth role, for moments. It runs longer and may overshoot, so a moment has to pass all three tests. If one fails, use small or large.
The three tests
Expressive curves
At their real speed, 350ms in. The line is the target: spring, pop and rebound pass it and settle back; rebound travels about twice the distance, so its line sits nearer the start. Every exit runs 250ms on the plain curve. A detail trails its parent by about 50ms, and a diagonal trip bows about 32px off the straight line.
ease-expressive
No overshoot. Large things arriving, and every exit
ease-expressive-spring
One soft overshoot. A chip or card landing
ease-expressive-pop
A strong overshoot. A check or a count, never bigger
ease-expressive-rebound
A springy return. A row of small marks when the pointer leaves, nothing else
In a product
Export a frame. Only the new export's badge moves, and only when the file is ready; earlier exports show the same check, still. The badge is the spinner-to-check recipe, one of ten optional motion recipes.
Exports
3Every animated part
The kit's animated components and the motion behind each.