Back to list
raphaelsalaja

12-principles-of-animation

by raphaelsalaja

A Living Manual for Better Interfaces

77🍴 3📅 Jan 24, 2026

SKILL.md


name: 12-principles-of-animation description: Guidelines for applying Disney's 12 principles of animation to web interfaces. Use when implementing motion, reviewing animation quality, or designing micro-interactions. Triggers on tasks involving CSS animations, transitions, motion libraries, or UX feedback. license: MIT metadata: author: raphael-salaja version: "1.0.0" source: /content/12-principles-of-animation/index.mdx

12 Principles of Animation

A guide to the foundational principles of animation and how they apply to web interfaces. These principles, originally codified by Disney animators in the 1930s, help create motion that feels intentional, human, and delightful.

When to Apply

Reference these guidelines when:

  • Adding motion to UI components
  • Reviewing animation quality and feel
  • Designing micro-interactions and feedback
  • Choosing between animation techniques
  • Making interfaces feel more alive and responsive

Principles

#PrincipleWeb Application
1Squash and StretchConvey weight and elasticity in morphing elements
2AnticipationPrepare users for what comes next (wind-up before action)
3StagingDirect attention through sequential animation
4Straight Ahead & Pose to PoseDefine keyframes, let browser interpolate
5Follow Through & OverlappingUse springs for organic overshoot-and-settle
6Slow In & Slow OutApply easing curves for natural acceleration
7ArcsAdd curved paths for organic movement
8Secondary ActionReinforce primary actions with subtle flourishes
9TimingKeep interactions under 300ms, be consistent
10ExaggerationAmplify motion for emphasis (sparingly)
11Solid DrawingUse perspective, shadows, and depth
12AppealThe sum of all techniques applied with care

Quick Reference

1. Squash and Stretch

Objects deform based on their mass and energy. Digital objects don't have physics, so we fake it. Use subtle deformation to convey weight—but don't overdo it or professional software becomes a cartoon.

2. Anticipation

Give cues before major actions occur. A pull-to-refresh that reveals a hint, a button that compresses before sending. Reserve for moments that matter—if everything has a wind-up, the app feels sluggish.

3. Staging

When a complex panel opens, guide the eye through sequential animation. Manipulate attention like directing a film—dim backgrounds, focus on important elements.

4. Straight Ahead & Pose to Pose

Focus on key poses: start state, end state, maybe a midpoint. Not every moment needs motion. Context menus animate on exit, not entry—entrance animation compounds into irritation.

5. Follow Through & Overlapping

Nothing moves as a single rigid unit. Use springs for that organic overshoot-and-settle that easing curves can't replicate. But too much stagger makes interfaces feel slow.

6. Slow In & Slow Out

Use easing curves. ease-out for entrances (arrive fast, settle gently), ease-in for exits (build momentum before departure), ease-in-out for deliberate movements.

7. Arcs

Curved paths feel inevitable, like water finding its level. Most useful for hero moments and playful interactions. For utilitarian interfaces, straight lines are fine.

8. Secondary Action

Little flourishes that support the main action—a checkmark that sparkles after success. Sound can also be secondary action. Think games: impact uses sound and visual effects together.

9. Timing

Keep interactions under 300ms. Anything longer needs a good reason. Be consistent—if buttons animate at 200ms, all buttons should animate at 200ms.

10. Exaggeration

Push past physical accuracy to make a point land harder. Use sparingly for onboarding, empty states, confirmations, or errors where you want users to feel something strongly.

11. Solid Drawing

Shadows suggest depth. Layering implies hierarchy. CSS perspective defines how far an object sits from the viewer, giving 3D transforms actual depth.

12. Appeal

The difference between software you tolerate and software you love. Not one technique—the sum of all techniques applied with care and taste.

Key Guidelines

  • Balance: Too much animation turns professional software into a cartoon
  • Consistency: Define timing scales early, reuse everywhere
  • Purpose: Great animation is invisible—users think "this feels good," not "nice ease-out curve"
  • Restraint: Not everything needs to be animated

References

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon