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.

RoleUse
tinyA hint on its way out: a tooltip leaves on tiny, so it is gone before the pointer reaches the next control.
smallControl feedback (hover, press, focus, a check, a switch), a tooltip coming in, and every other surface on its way out.
largeA surface coming in (popover, menu, select, dialog, sheet, drawer) and disclosure. It opens on large and closes on small, shrinking back toward its trigger.
ambientA loop that shows work is happening and runs until it ends: a shimmer, a skeleton pulse, an indeterminate bar. They share one clock, so every loop on a screen breathes together. A Spinner turns faster on purpose.
expressiveA moment: a task finishing, an image arriving, a purchase going through. Rare, and nothing waits on it. Never on a kit component.

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.

Order 1042$128.00
Order 1041$64.50
Order 1040$312.00
Order 1039$18.00
Order 1038$96.20
Order 1037$240.00

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

TestA momentNot a moment
It marks an outcomeAn export finishesA menu opens
It is rareA file is shared with a clientA layer is selected
Nothing waits on itAn upload lands while you keep workingThe canvas waits for the animation

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

FileFormatStatusExported
Homepage heroPNG @2xNot exportedNot yet
App icon setSVGReadyReadyOct 30, 2026
Onboarding flowPDFReadyReadyOct 28, 2026

Every animated part

The kit's animated components and the motion behind each.

ComponentInteractionType
ButtonPress feedback (not bare or block): active:scale-[0.98]CSS
TabsPill slide: visualDuration 0.15, bounce 0Spring
NavPill slide: visualDuration 0.15, bounce 0Spring
Segmented ControlPill slide: visualDuration 0.15, bounce 0Spring
Shimmering TextShimmer loop: ambient role, 2s ease-in-out, loopingMotion
SkeletonPulse loop: animate-pulse motion-reduce:animate-noneCSS
SpinnerSpin loop, off the ambient clock: 1s linear turn, kept under reduced motionCSS
ProgressBar fill: 300ms ease-in-outCSS
StepperConnector fill: 300ms ease-in-outCSS
TooltipEnter and exit: small in, tiny outBase UI
PopoverEnter and exit: large in, small outBase UI
DropdownEnter and exit: large in, small outBase UI
SelectEnter and exit: large in, small outBase UI
SheetEnter and exit: large in, small outBase UI
DrawerSlide in and out: large in, small outBase UI
DialogEnter and exit: large in, small outBase UI
Alert DialogEnter and exit: large in, small outBase UI
SwitchThumb slide: duration-small ease-smallCSS
CollapsibleExpand and collapse: height 200ms open, 150ms closeHeight
CardContent grow: animateHeight 200msHeight