Skip to content

Applies Disney's 12 animation principles to small UI feedback moments like buttons, toggles, and badges.

CCM score
55 of 100
Quality grade
Quality grade B, 82 of 100
skills.sh installs
1.6K
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers principle-by-principle applications for button presses, toggle switches, checkboxes, tooltips, and notification badges
  • Includes CSS patterns for button states, toggle thumbs, and checkmarks, plus a timing table from 100ms hovers to 200ms badge updates
  • Enforces a 100-300ms range for most interactions and keeps error shakes at 3-5px and success scales at 1.05-1.1
  • Designed for front-end work where feedback should feel responsive without drawing attention away from the content

Quality grade

  • Safety25% of the grade100

    The skill is a benign UI animation guide with no attempts to steer graders or move data off machine.

  • Tool boundary15% of the grade80

    Declares no allowed-tools in its frontmatter. No scripts: it teaches a procedure. It teaches design principles and CSS patterns the agent applies itself, rather than running bundled code.

  • Workflow quality25% of the grade60

    Craft grade 60 of 100 for specificity, expertise, examples, economy and scope.

  • Discoverability10% of the grade83

    Name micro-interactions is lowercase with hyphens. Description of 134 characters. The description states when to use it but gives no explicit when-not-to-use guidance.

  • Provenance and upkeep15% of the grade75

    Last push 11 months ago. MIT license. Owner account 13 years old.

  • Portability10% of the grade100

    Relative paths only.

Rubric 2026-12.5 · graded December 4, 2026How we grade

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
License
MIT
First seen
Jun 3, 2026

Questions

What does the micro-interactions skill do?

The micro-interactions skill applies Disney's 12 animation principles to small UI feedback moments like button states, toggles, form validation, loading indicators, and notification badges. It gives timing guidance, such as 100-300ms for most interactions, and CSS patterns for button presses, toggle switches, and checkboxes.

How do I install the micro-interactions skill?

Run npx -y skills add dylantarre/animation-principles --skill micro-interactions -y in your project to install it. Once installed, the micro-interactions skill lets the agent design small UI feedback moments with subtle, purposeful motion.

Who is the micro-interactions skill for?

The micro-interactions skill is for developers and designers who build interface details and want feedback animations that feel responsive without becoming distracting. It suits work on buttons, toggles, form fields, and notification badges.

Where does the micro-interactions skill stand in the Animation & Motion category?

The micro-interactions skill is one of the skills in the Animation & Motion category, alongside remotion-render, hyperframes-registry, hyperframes-animation, remotion-best-practices, and hyperframes-core. Its focus is narrower than those, covering only small UI feedback rather than video or general motion output.

More from dylantarre/animation-principles

All 144

Similar to Micro Interactions

More Animation & Motion