chapter 16
Motion library
Motion is a signal, never decoration. Tokens: fast 120ms, base 200ms, slow 320ms, ease-out cubic-bezier(.16,1,.3,1), ease-in-out cubic-bezier(.65,0,.35,1). Source: tokens/motion.css.
| Motion | What moves | Duration · easing | Where | Reduced motion |
|---|---|---|---|---|
| pulse | Live dot opacity | 2200ms loop | Talk to AI recording, sync dot | Static dot |
| hover | Colour, border | 120ms out | Buttons, rows | Instant |
| arrow | Trailing arrow, 3px | 120ms out | Links with arrows | None |
| enter | 4px rise + fade | 200ms out | Menus, tooltips | Instant |
| sheet | Drawer slides in | 320ms in-out | Evidence drawer, mobile sheets | Instant |
| toast | 8px rise | 200 / 120ms | Toasts | Instant |
| shimmer | Gradient sweep | 1600ms loop | Loading rows | Static grey |
| count | Fade 40→100% | 200ms | Changed values | Instant |
| stage | Ring flash once | 640ms | Milestone advanced | None |
Never: chart draw-ins, parallax, carousels, page slides, numbers that count up, bounce.