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, spatial and looping motion is not applied at all.
- Opt in
- Looping and spatial animations (
kerb,animate-marquee,animate-zoom-subtle, the skeleton pulse) are declared insideprefers-reduced-motion: no-preference, so reduced motion starts from the still state. Entering and leaving elements keep their fade but lose the slide and zoom, and smooth scrolling is turned off. There is no global duration override. - 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.