This translates Disney's 12 animation principles into practical web patterns, which is exactly the framing frontend motion needs. You get a reference table mapping squash and stretch to CSS scale transforms, anticipation to reverse movements, and timing guidelines (micro interactions at 100-200ms, standard at 200-400ms). The easing curve recommendations are specific enough to copy paste: cubic-bezier(0.4, 0, 0.2, 1) for standard, different values for enter and exit states. What makes this useful is it treats animation as a design system with principles, not just random effects. The performance rules are brief but correct: transform and opacity only, will-change sparingly, test on low-powered devices. Solid reference if you're building component libraries or design systems where motion needs to feel consistent and intentional.

skills.sh installs
1.4K
GitHub stars
146
last updated
Aug 21, 2026

Install

$ npx -y skills add dylantarre/animation-principles --skill web-motion-design --agent claude-code

Installs into .claude/skills of the current project.

Files

Web Motion Design

Apply Disney's 12 animation principles to CSS, JavaScript, and frontend frameworks.

Quick Reference

PrincipleWeb Implementation
Squash & Stretchtransform: scale() on interaction states
AnticipationSlight reverse movement before action
StagingFocus user attention with motion hierarchy
Straight Ahead / Pose to PoseJS frame-by-frame vs CSS keyframes
Follow Through / OverlappingStaggered child animations, elastic easing
Slow In / Slow Outease-in-out, cubic-bezier curves
Arcmotion-path or bezier translate transforms
Secondary ActionShadows, glows responding to primary motion
TimingDuration: micro 100-200ms, standard 200-400ms
ExaggerationScale beyond 1.0, overshoot animations
Solid DrawingConsistent transform-origin, 3D perspective
AppealSmooth 60fps, purposeful motion design

Principle Applications

Squash & Stretch: Apply scaleY compression on button press, scaleX stretch on hover. Keep volume constant—if you compress Y, expand X slightly.

Sponsors

Details

Repository
github.com/dylantarre/animation-principles
Categories
Frontend Development, Automation & Workflows, Design & UI/UX
First seen
Jun 3, 2026

More from dylantarre/animation-principles

All 144
1mindrally avataralpine-jsmindrally/skillsAlpine.js development guidelines for lightweight reactive interactions with Tailwind CSS and various backend frameworks.1.4Kskills.sh installs
2cap-go avatarsafe-area-handlingcap-go/capgo-skillsComplete guide to handling safe areas in Capacitor apps for iPhone notch, Dynamic Island, home indicator, and Android cutouts. Covers CSS, JavaScript, and nativ1.4Kskills.sh installs
3upstash avatardocumentation-lookupupstash/context7This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation1.4Kskills.sh installs
4tanstack-skills avatartanstack-rangertanstack-skills/tanstack-skillsHeadless utilities for building range and multi-range sliders in TS/JS, React, Vue, Solid, Svelte & Angular.1.3Kskills.sh installs
5bear2u avatarlanding-page-guide-v2bear2u/my-skillsCreate distinctive, high-converting landing pages that combine proven conversion elements with exceptional design quality. Build beautiful, memorable landing pa1.3Kskills.sh installs
6thesysdev avataropenuithesysdev/openuiUse for building, debugging, integrating, migrating, or documenting OpenUI, OpenUI Lang, Agent Interface, OpenUI Cloud, @openuidev packages, streaming generativ1.3Kskills.sh installs