This applies Disney's 12 animation principles to UI feedback moments like button presses, toggles, checkboxes, and form validation. You get a quick reference table mapping each principle to specific implementations, timing guidelines for different interactions (100ms for hover, 200ms for toggles), and actual CSS examples with cubic-bezier values. The timing reference alone is worth having on hand. It's opinionated about durations and easing functions in a way that saves you from reinventing these decisions on every project. Includes prefers-reduced-motion reminders and practical advice like keeping button squash subtle since this is UI, not cartoons.

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

Install

$ npx -y skills add dylantarre/animation-principles --skill micro-interactions --agent claude-code

Installs into .claude/skills of the current project.

Files

Micro-interaction Animation

Apply Disney's 12 animation principles to small UI feedback moments and interface details.

Quick Reference

PrincipleMicro-interaction Implementation
Squash & StretchButton press compression, toggle bounce
AnticipationHover state hints, pre-click feedback
StagingFocus attention on active element
Straight Ahead / Pose to PoseProgress vs state changes
Follow Through / OverlappingRipple effects, settling motion
Slow In / Slow OutSnappy but smooth transitions
ArcToggle switches, circular menus
Secondary ActionIcons respond to parent state
Timing100-300ms for most interactions
ExaggerationClear but not distracting
Solid DrawingConsistent transform behavior
AppealDelightful, purposeful feedback

Principle Applications

Squash & Stretch: Buttons compress slightly on press (scaleY: 0.95). Toggle thumbs squash when hitting bounds. Notification badges bounce on update. Keep subtle—this is UI, not cartoon.

Sponsors

Details

Repository
github.com/dylantarre/animation-principles
Category
Design & UI/UX
First seen
Jun 3, 2026

More from dylantarre/animation-principles

All 144
1loops-so avatarloops-lmxloops-so/skillsUse this skill whenever LMX is used, produced, reviewed, migrated, or modified. This includes composing campaigns, loops, lifecycle emails, or email-message bod1.5Kskills.sh installs
2nexscope-ai avataramazon-listing-imagesnexscope-ai/amazon-skillsAmazon product listing image strategy and optimization. Comprehensive shot planning, infographic design, lifestyle photography, mobile optimization, and convers1.5Kskills.sh installs
3davila7 avatarscientific-slidesdavila7/claude-code-templatesBuild slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, 1.4Kskills.sh installs
4kostja94 avatarcarouselkostja94/marketing-skillsWhen the user wants to design, optimize, or audit carousel/slider layouts for content display. Also use when the user mentions "carousel," "slider," "carousel l1.4Kskills.sh installs
5bowtiedswan avataranimejsbowtiedswan/animejs-skillsComprehensive skill for Anime.js v4 - a fast and flexible JavaScript animation library. This skill should be used when implementing web animations, creating tim1.3Kskills.sh installs
6daffy0208 avatarbrand-designerdaffy0208/ai-dev-standardsExpert in brand identity, logo design, and visual brand systems1.3Kskills.sh installs