motion
Motion
This skill holds whether and how things move on every screen. It covers what animates, the curve and duration, gestures, choreography, exits, motion blur and reduced motion.
Durations and curves are exact
Use the project's motion tokens wherever they exist. Where none exists, the durations, curves, scales and physics constants here are exact. Motion the user starts that runs past 300ms is a finding, apart from the drawer and hold exceptions below.
It applies to anything that moves, fades or resizes, and first asks whether it should move at all.
Deleting an animation belongs to restraint, taking one apart to deconstruct and adding motion across a flow to animate. Frame rate belongs to frames, and surfaces, loading, hover styles and sound to defaults. When an overlay opens and closes belongs to overlays, and how it moves belongs here.
Data and idle elements hold still
Charts, counters and table rows render at their values and move only when the user changes one. A bar chart growing from zero on every refresh is motion-still-data.
Sections never fade up as they scroll into view, including through animation-timeline: view(), and a marketing page keeps one hero entrance at most. A fade-up on every section is motion-no-scroll-reveals.
A reading progress bar runs on animation-timeline: scroll() inside @supports, with animation-duration: 1ms because Firefox skips a zero duration. See recipes.md.