Motion
Overview
Motion is animation used to communicate feedback, a state change, or an affordance, not decoration for its own sake. Duration, easing, and respecting reduced-motion preferences are what make motion feel purposeful rather than gratuitous.
Why It Matters
Motion used well helps someone track what just happened: a panel that slides in from where it came from is easier to understand than one that simply appears. Motion used poorly, too slow, too showy, or present for no functional reason, adds delay and irritation instead of clarity.
Core Principles
- Motion should serve feedback, state change, or affordance. Nielsen Norman Group frames this directly: animation should be used with a light touch, primarily as a tool for smooth, noticeable feedback, not surface-level delight.
- Duration has a real, citable range. Roughly
100ms for small feedback like a toggle, 200 to 300ms for larger
transitions like a modal, and a ceiling around 400 to 500ms
before motion starts to feel slow. Template Interface's own
--transition-fast(100ms),--transition-base(150ms), and--transition-slow(250ms) tokens sit inside this range. - Reduced motion is not optional. Anyone with
prefers-reduced-motionset must get the same result with no animation, not a broken or half-finished one.
Interactive Demo
Subtle (150ms): matches Template Interface's own --transition-base token.
Common Mistakes
- Animating an element for longer than about 500ms, which starts to feel like a drag rather than a transition.
- Adding motion with no functional purpose, purely as decoration, which adds delay without adding clarity.
- Never testing or supporting
prefers-reduced-motion, leaving no way for a person who needs it to turn animation off.
Related Concepts
- Interaction States and Feedback: motion is one way state changes get communicated.
- Common Design Mistakes: motion without purpose is a recurring, named mistake.
Used In Templates
Demonstrated directly in the Portfolio Site, Landing Page, Online Course Landing Page, Newsletter and Waitlist Signup Page, and Multi-step Onboarding Flow templates; see docs/PRD.md section 13.2.
Summary
Motion should communicate something: feedback, a state change, or an affordance, within a duration range that feels responsive rather than slow, and it must degrade gracefully for anyone who has asked their system to reduce motion.