Skip to content

Reference guide mapping Disney's 12 animation principles to React Spring spring-physics code examples.

CCM score
48 of 100
Quality grade
Quality grade B, 78 of 100
skills.sh installs
644
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers all 12 Disney principles, from squash and stretch through appeal, each with a runnable useSpring or useTrail snippet
  • Includes tuning guidance for tension, friction, and mass, plus presets such as config.gentle, config.stiff, and config.slow
  • Shows staggered and sequenced motion with useTrail, useChain, and useTransition alongside the useSprings multi-spring API
  • Designed for React developers who want physics-based motion with overshoot, follow-through, and timing controlled through spring config

Quality grade

  • Safety25% of the grade100

    Content is a plain React Spring animation tutorial 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 is a procedural guide teaching how to apply animation principles with code examples, not a disguised bundled tool.

  • Workflow quality25% of the grade45

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

  • Discoverability10% of the grade83

    Name react-spring is lowercase with hyphens. Description of 99 characters. The description says when to use the skill but gives no guidance on when not to use it.

  • 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 react-spring -y

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

Files

React Spring Animation Principles

Implement all 12 Disney animation principles using React Spring's spring physics system.

1. Squash and Stretch

const [springs, api] = useSpring(() => ({
  scaleX: 1,
  scaleY: 1,
  config: { tension: 300, friction: 10 }
}));

api.start({ scaleX: 1.2, scaleY: 0.8 });
<animated.div style={springs} />

2. Anticipation

const [props, api] = useSpring(() => ({ y: 0, scaleY: 1 }));

const jump = async () => {
  await api.start({ y: 10, scaleY: 0.9 }); // wind up
  api.start({ y: -200, config: { tension: 200 } }); // action
};

3. Staging

const bgSpring = useSpring({ filter: 'blur(3px)', opacity: 0.6 });
const heroSpring = useSpring({ scale: 1.1, zIndex: 10 });

4. Straight Ahead / Pose to Pose

const [props] = useSpring(() => ({
  from: { x: 0, y: 0 },
  to: [
    { x: 100, y: -50 },
    { x: 200, y: 0 },
    { x: 300, y: -30 }
  ]
}));

5. Follow Through and Overlapping Action

const bodySpring = useSpring({ x: 200 });
const hairSpring = useSpring({ x: 200, delay: 50 });
const capeSpring = useSpring({ x: 200, delay: 100, config: { friction: 15 } });

6. Slow In and Slow Out

Details

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

Questions

What does the react-spring skill do?

The react-spring skill teaches Claude to apply Disney's 12 animation principles using React Spring's physics-based animations. It gives code patterns for squash and stretch, anticipation, follow through, slow in and slow out, and the other principles.

How do I install the react-spring skill?

Run npx -y skills add dylantarre/animation-principles --skill react-spring -y in your project. After that, the react-spring skill lets the agent write React Spring animations that follow the 12 principles.

Which other skills are in the Animation & Motion category?

The react-spring skill sits in the Animation & Motion category, next to remotion-render, hyperframes-registry, hyperframes-animation, remotion-best-practices and hyperframes-core. It focuses on React Spring specifically, with useSpring, useTrail and config presets.

Who is the react-spring skill for?

The react-spring skill is for React developers who want spring-based motion in their interfaces. It covers useSpring, useTrail for staggered animations, useChain and useTransition, with physics settings such as tension and friction.

More from dylantarre/animation-principles

All 144

Similar to React Spring

More Animation & Motion