Foundations
Motion
Motion explains a change: where something went, what opened, what is working. It never decorates, and it stops when a person asks it to.
Two durations
150ms for feedback, 250ms for movement. Ease out; nothing bounces.
Your system asks for full motion.
Fast150msHover, focus, press feedback
Normal250msPanels sliding, drill-in and back, drawers opening
transitionFastMs 150- Colour, opacity and border changes on hover, focus and press.
transitionNormalMs 250- Layout that moves: a sidebar panel sliding toward the right on drill-in and back, a drawer, the conversation columns easing (200ms) when the observer opens.
- Loops
- Only for work in progress: a spinner, a pulsing live dot, the kerb stripe running. A loop that means nothing is removed.
Reduced motion
When the system asks for reduced motion, every animation and transition drops to a single frame.
- Global rule
- In
app/globals.css,prefers-reduced-motion: reducesets animation and transition durations to 0.01ms and iterations to 1, and turns off smooth scrolling. Nothing needs to opt in. - Per element
- Add
motion-reduce:transition-noneormotion-reduce:animate-noneon anything that moves layout, so the intent is visible in the markup. - Meaning survives
- The kerb stripe stops running but stays visible; a spinner stops but its word, "Working", remains. State is never carried by motion alone.
Do
Move only what changed, for 150 to 250ms, and respect the system setting.
Don't
Parallax, confetti, glows, bouncing icons, or an animation that must finish before the next click.