Agent skill

Web Motion Design Skill: Disney’s Principles for the Browser

The web-motion-design skill gives an AI coding agent Disney's 12 animation principles as CSS and JavaScript rules, with set timing bands, easing curves and four performance rules.

Install
git clone https://github.com/dylantarre/animation-principles.git ~/.claude/plugins/animation-principles
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the web-motion-design skill?

The web-motion-design skill from dylantarre's animation-principles repository turns Disney's 12 principles into web rules. Micro interactions get 100 to 200ms, standard transitions 200 to 400ms, linear easing is out for UI, and only transform and opacity should animate where possible. Its SKILL.md covers CSS, JavaScript and React or Vue motion.

The web-motion-design skill lives at skills/01-by-domain/web-motion-design in dylantarre's animation-principles repository. Its SKILL.md applies Disney's 12 animation principles to CSS, JavaScript and frontend frameworks, and it is meant for any browser based animation work.

The SKILL.md is specific about numbers. Micro-interactions run 100 to 200ms, standard transitions 200 to 400ms, complex sequences 400 to 700ms and page transitions 300 to 500ms. It also bans linear easing for UI motion.

The principles as web code

  • Squash and Stretch uses scaleY compression on button press and scaleX stretch on hover, keeping volume constant.
  • Anticipation shrinks a dropdown 2 to 3% before it expands, or moves content 5px right before sliding it left.
  • Slow In and Slow Out sets standard easing to cubic-bezier(0.4, 0, 0.2, 1), enter to cubic-bezier(0, 0, 0.2, 1) and exit to cubic-bezier(0.4, 0, 1, 1).
  • Exaggeration scales hover states to 1.05 to 1.1 and moves error shakes 10 to 20px.
  • Follow Through staggers child animations with decreasing animation-delay values.
  • Solid Drawing keeps transform-origin consistent and uses perspective for depth.

Performance rules in the skill

  1. Animate only transform and opacity for GPU acceleration.
  2. Use will-change sparingly and remove it after the animation.
  3. Prefer CSS over JavaScript when the animation is predictable.
  4. Test on low-powered devices.

Related: animation-vocabulary, improve-animations, review-animations and fixing-motion-performance.

Who the web-motion-design skill is for

Best for

  • Developers building CSS animations, JavaScript transitions or React and Vue motion, which is the trigger in the skill description.
  • Teams who want concrete duration bands and easing curves in the agent's context.
  • Anyone who wants hover, press and dropdown motion that follows named principles.

Not for

  • Framework specific guidance. The repository has separate skills for framer-motion, gsap-greensock, react-spring and lottie-bodymovin, Related: gsap-core.
  • Mobile touch, game or data visualization work, which have their own skills in the same repository.

Use it with UiChemy

Motion rules apply while your agent writes front end code. To move the page into WordPress, route the build through Figma, Composer, or an AI build plus MCP, then convert, and review the animations yourself. Click Get Started on uichemy.com.