What problem does it solve?
This Skill helps you plan and generate UI animation code that is safe for the DOM, accessible for users, and performant under real-world constraints.
Core Features & Use Cases
- Animation safety: Prevents common UI risks like XSS from unsafe DOM updates and guards against unbounded animation creation.
- Accessibility-first motion: Enforces
prefers-reduced-motion handling and avoids seizure-inducing patterns via timing constraints.
- Performance-aware patterns: Recommends GPU-friendly properties (transform/opacity), IntersectionObserver/ScrollTrigger over scroll listeners, and timeline composition for complex choreography.
- Easing + duration consistency: Uses context-appropriate easing tokens and duration tokens to align motion with a design system.
- Library-specific guidance: Provides correct patterns for GSAP usage while explicitly steering away from GSAP-specific implementation when the intent is framework-agnostic motion principles.
Quick Start
Use motion-design to generate transition and micro-interaction animation code for your UI while respecting prefers-reduced-motion and performance best practices.