Skip to content

Guide for applying Disney's 12 animation principles to interactive Rive animations with state machines.

CCM score
42 of 100
skills.sh installs
732
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 and anticipation through timing, exaggeration, and appeal
  • Includes Rive Editor steps (bones, constraints, Graph Editor easing) paired with JavaScript and React runtime snippets
  • Shows state machine wiring such as Idle to Anticipate to Action, plus boolean, number, and trigger inputs
  • Designed for developers building interactive UI animations in Rive with @rive-app/react-canvas

Install

$ npx -y skills add dylantarre/animation-principles --skill rive-animations -y

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

Files

Rive Animation Principles

Implement all 12 Disney animation principles using Rive's state machine and interactive animations.

1. Squash and Stretch

In Rive Editor:

  • Create shape with bones
  • Animate scale X/Y with inverse relationship
  • Key: scaleX: 1.2 when scaleY: 0.8
// Trigger from code
rive.play('squash_stretch');

2. Anticipation

State Machine Setup:

  1. Create "Idle" state
  2. Create "Anticipate" state (wind-up pose)
  3. Create "Action" state
  4. Connect: Idle → Anticipate → Action
const inputs = rive.stateMachineInputs('State Machine');
const trigger = inputs.find(i => i.name === 'jump');
trigger.fire(); // Plays anticipate → action sequence

3. Staging

In Rive:

  • Use artboard layers for depth
  • Apply blur/opacity to background layers
  • Use nested artboards for complex scenes
// Control visibility
const bgOpacity = inputs.find(i => i.name === 'bgOpacity');
bgOpacity.value = 0.6;

4. Straight Ahead / Pose to Pose

Pose to Pose in Rive:

  • Set key poses on timeline
  • Rive interpolates between
  • Use easing curves in Graph Editor

5. Follow Through and Overlapping Action

Details

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

Questions

What does the rive-animations skill do?

The rive-animations skill teaches Claude to implement Disney's 12 animation principles with Rive interactive animations. It covers state machines, inputs, bones and constraints so each principle can be built in a Rive file and driven from code.

How do I install the rive-animations skill?

Run npx -y skills add dylantarre/animation-principles --skill rive-animations -y in a project to install it. Once installed, rive-animations gives the agent guidance for building squash and stretch, anticipation and other principles in Rive.

Where does rive-animations sit in the Animation & Motion category?

The rive-animations skill is listed in the Animation & Motion category on Claude Marketplaces, alongside remotion-render, hyperframes-registry and hyperframes-animation. Its focus is on Rive state machines and runtime control rather than video rendering or other motion tools.

Which Rive features does rive-animations use?

The rive-animations skill draws on Rive state machines, Boolean, Number and Trigger inputs, blend states, listeners, IK and path constraints, and bones and meshes. It also shows React code using the @rive-app/react-canvas package to wire hover input to a button.

Who is the rive-animations skill for?

The rive-animations skill is for developers who build interactive Rive animations and want to apply Disney's animation principles to them. It suits front-end work where a Rive file must respond to user events such as hover or click.

More from dylantarre/animation-principles

All 144

Similar to Rive Animations

More Animation & Motion