motion
Installation
SKILL.md
If .ux-profile.md exists at the project root, read it before adding motion — especially aesthetic reference (Linear ≈ instant, Stripe/Notion restrained, Apple short and purposeful).
Intent
Motion should clarify change, not decorate. Short, consistent durations and restrained easing make interfaces feel calm and fast. Animating layout properties or using bounce/elastic curves on product chrome feels cheap and hurts performance.
Hard Rules (Non-Negotiable)
- Duration tokens only: 100ms, 150ms, 200ms, or 300ms. No one-off values (e.g. 180ms, 450ms, 800ms) unless documented as an optical exception in reference/timing-tokens.md.
- Easing: ease-out on enter; ease-in on exit. Ban bounce, elastic, spring-overshoot, and back curves on product chrome (toolbars, dialogs, buttons, lists).
- Animatable properties:
transformandopacityonly. Never animatewidth,height,top,left,margin, orpaddingfor UI chrome. - No infinite decorative loops on static chrome (pulsing borders, forever-rotating logos, looping blob backgrounds). Functional loops (progress indeterminate, live activity) are allowed when they convey ongoing work.