Meridianby Commenda
Foundations

Motion

Springs, durations, easings and the recipes built from them.

Motion explains a change. Pathfinder’s springs, durations and easings, plus two Meridian curves for marketing pages: pop for things appearing and glide for cursor travel. Things close faster than they open; only success bounces.

Principles

Every transition is checked against these.

  1. Motion explains change. Things arrive from where they came from: a menu from its trigger, a row from its list.
  2. Change the element. A state change happens on the element itself. Nothing blinks out and back.
  3. Open with weight, close fast. Opening uses a spring; closing takes about 70% of the time and never bounces.
  4. Respond within 100ms. Press feedback starts on pointer down and never waits on the network.
  5. Bounce is earned. Only success bounces. Data, errors and anything to be read never bounce.

Springs

The default for anything that moves. Each spring is a visual duration and a bounce.

TokenDuration · bounceUse
spring/snappy0.2s · 0Press, switches, checkboxes, menus opening. Must feel instant.
spring/smooth0.3s · 0The app-wide default. Sliding indicators, expanding content, size and layout changes, dialogs, list rows.
spring/release0.3s · 0.15Motion a gesture started: a drag or sheet settling after release, a flick, a rubber band springing back. Carries the release velocity.
spring/expressive0.4s · 0.25Moments of success only (a check landing). Never on expand, data or errors.

spring/release and a non-bouncing smooth come with Pathfinder 0.3; the pinned 0.2.0 still has smooth at bounce 0.15.

Duration

For CSS transitions, exits and anything that cannot run on a spring. Nothing goes above 300ms except sheets.

duration/instant · 100ms · Hover and press color changes. Nothing the eye should follow.

duration/fast · 150ms · Exits and anything closing, chevrons, focus rings, the checkbox tick.

duration/base · 200ms · Menus, tooltips and selects when a spring is not available (CSS only).

duration/slow · 300ms · Panels and dialogs when a spring is not available (CSS only).

duration/deliberate · 500ms · Sheets and whole-page transitions. The only duration above 300.

Easing

Curves for duration-based transitions. pop and glide are Meridian (--ease-pop, --ease-glide); the rest are Pathfinder’s --pf-easing-*.

easing/out · Pathfinder

cubic-bezier(0.23, 1, 0.32, 1)

Strong ease-out. Anything entering, pressing or responding to the user.

easing/in-out · Pathfinder

cubic-bezier(0.77, 0, 0.175, 1)

Things moving across the screen.

easing/standard · Pathfinder

cubic-bezier(0.25, 0.1, 0.25, 1)

ease. Color and hover changes only.

easing/sheet · Pathfinder

cubic-bezier(0.32, 0.72, 0, 1)

Sheets and drawers.

easing/pop · Meridian

cubic-bezier(0.2, 0.9, 0.3, 1.15)

Badges, chips, nodes appearing: a small overshoot.

easing/glide · Meridian

cubic-bezier(0.45, 0, 0.2, 1)

Cursor travel in product shots, carousels.

Recipes

Every animation is one of these. If none fits, add a recipe here first.

RecipeMotionTokensUsed bySource
PressScale to 0.97 on pointer down, back on release. Keyboard never scales.spring/snappyButton, IconButton, PillPathfinder
HoverColour only. No movement, no scale.duration/instant · easing/standardEvery controlPathfinder
Open from the triggerOpacity 0 to 1, scale 0.96 to 1 from the trigger. Closes in 120ms.spring/snappy · menu exit 120Select, Popover, menusPathfinder
Panel and dialogFade and rise 8. Exit is a fade only.spring/smooth · duration/fastDialog, panelsPathfinder
SheetSlides in 500, out 400.easing/sheet · duration/deliberateMobile nav drawerPathfinder
Row inRows rise 8 and fade in, 40 apart.easing/out · duration/slowTables in product shotsMeridian
Badge popScale 0.8 to 1 with a small overshoot.easing/pop · 360Status pills, chips, nodes in shotsMeridian
Cursor glideThe fake cursor travels between targets.easing/glide · 850Product-shot animationsMeridian
SuccessA check lands with a bounce.spring/expressiveButton done, form sentPathfinder

Best practices

  • Pick a recipe; never invent a curve.
  • Reduced motion: no movement, fades only.
  • Source: Pathfinder Motion. Meridian adds easing/pop, easing/glide and the Row in, Badge pop and Cursor glide recipes.

On this page