motion-design

Plan UI animation strategies with safe DOM and performance constraints.

3|1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Probably-Group/Dev-AID --skill motion-design-probably-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion-design
Source: https://github.com/Probably-Group/Dev-AID/tree/main/.dev-aid/skills/expert/motion-design
Command: npx skills add https://github.com/Probably-Group/Dev-AID --skill motion-design-probably-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about motion-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make UI animations accessible and prevent motion-triggered seizures?

To make UI animations accessible, you must enforce `prefers-reduced-motion` handling and apply timing constraints to avoid seizure-inducing patterns. This ensures micro-interactions respect user accessibility settings while maintaining safe visual feedback.

What are the best practices for GPU-friendly scroll-linked animations?

For GPU-friendly scroll-linked animations, use IntersectionObserver or ScrollTrigger instead of scroll listeners, and animate transform/opacity properties. This approach prevents DOM manipulation risks and performance regressions during scroll choreography.

How do I choose the right easing curves for a design system?

Choosing the right easing curves involves applying context-appropriate easing tokens and duration tokens to align UI motion with your design system. This consistency ensures transitions feel unified across all micro-interactions and animation scenarios.

Does this guidance provide GSAP-specific implementation patterns?

It provides correct usage patterns for GSAP implementation, but explicitly steers away from GSAP-specific code when the intent is framework-agnostic motion principles. You get safe library usage guidance without being locked into a single framework.

Why do my UI animations cause performance regressions and unbounded DOM updates?

UI animations cause performance regressions when using unsafe DOM manipulation or unbounded animation creation. Guard against these issues by constraining animation counts, using timeline composition, and ensuring safe DOM updates to prevent XSS risks.

Can I use framer-motion for safe UI micro-interactions?

Yes, you can use framer-motion for UI micro-interactions if you adhere to reduced-motion accessibility, constrain animation counts, and use GPU-friendly properties. This ensures your transitions remain performant and safe under real-world constraints.