Design System

Motion

Motion confirms cause and effect — fast, purposeful and always interruptible. Nothing in the system animates for decoration.

Durations

Three steps cover the system. Click a lane to run it — or race all three, which is the easiest way to see the gap between 150ms and 300ms.

Fast · 150msduration-150

Colour, opacity and shadow feedback — button hovers, focus rings

Base · 200msduration-200

Structural movement — accordion expand, menu open, toast enter

Slow · 300msduration-300

Large surfaces — sheets, dialogs, page-level panels

StepDurationUtilityUse
Fast150msduration-150Colour, opacity and shadow feedback — button hovers, focus rings
Base200msduration-200Structural movement — accordion expand, menu open, toast enter
Slow300msduration-300Large surfaces — sheets, dialogs, page-level panels

Easing

Ease-out for things entering or responding (start fast, settle gently); ease-in-out for things moving on screen. Never linear for UI.

Same distance, same duration — only the curve differs. Watch where each dot spends its time: ease-out sprints then settles; ease-in-out gathers speed and brakes.

ease-outease-out

Default — things entering or responding start fast and settle gently

ease-in-outease-in-out

Repositioning — sheets sliding, elements trading places

EasingUse
ease-outDefault — menus, accordions, toasts, hover feedback.
ease-in-outRepositioning — sheets sliding, elements trading places.

In practice

Components ship with their motion built in — accordion and enter/exit animations come from the token layer and tw-animate-css.

/* Feedback: colour only, fast */
<Button className="transition-colors duration-150" />

/* Structure: the accordion's 200ms ease-out lives in tokens.css */
--animate-accordion-down: accordion-down 0.2s ease-out;

/* Overlays animate with tw-animate-css enter/exit utilities */
data-[state=open]:animate-in data-[state=closed]:animate-out

Brand motion

A second tier above functional motion: signature moments where the brand mark itself animates — the triangle "peak" drawing itself, or the coral heartbeat tracing an ECG line. Reserved for loading, empty states, splash and success beats.

Spinner — the peak draws itself

Pulse — the heartbeat draws itself

Restraint rules:

  • One signature moment per view — never in dense UI (menus, tables, toasts).
  • Functional motion stays on the neutral 150–300ms system.
  • prefers-reduced-motion collapses it to the static mark.

Rules of thumb

  • Animate transform and opacity; avoid animating layout properties.
  • Everything under 400ms — users are here to finish tasks, not watch transitions.
  • Respect prefers-reduced-motion: movement collapses to a fade or nothing.

On this page