Skip to content

Motion One animation recipes that implement Disney's 12 principles with a lightweight Web Animations API wrapper.

CCM score
50 of 100
skills.sh installs
671
GitHub stars
709
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 appeal, each with its own code example
  • Includes animate(), timeline(), stagger(), spring(), scroll(), and inView() for single, sequenced, physics-based, and scroll-linked motion
  • Demonstrates timing choices such as fast snaps, spring physics, and slow dramatic easing, with at offsets for overlapping action
  • Designed for front-end developers who want hardware-accelerated animation in a bundle of about 3kb

Install

$ npx -y skills add dylantarre/animation-principles --skill motion-one -y

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

Files

Motion One Animation Principles

Implement all 12 Disney animation principles using Motion One's performant Web Animations API wrapper.

1. Squash and Stretch

import { animate } from "motion";

animate(".ball",
  { scaleX: [1, 1.2, 1], scaleY: [1, 0.8, 1] },
  { duration: 0.3, easing: "ease-in-out" }
);

2. Anticipation

import { timeline } from "motion";

timeline([
  [".character", { y: 10, scaleY: 0.9 }, { duration: 0.2 }],
  [".character", { y: -200 }, { duration: 0.4, easing: "ease-out" }]
]);

3. Staging

animate(".background", { filter: "blur(3px)", opacity: 0.6 });
animate(".hero", { scale: 1.1 });

4. Straight Ahead / Pose to Pose

animate(".element", {
  x: [0, 100, 200, 300],
  y: [0, -50, 0, -30]
}, { duration: 1 });

5. Follow Through and Overlapping Action

timeline([
  [".body", { x: 200 }, { duration: 0.5 }],
  [".hair", { x: 200 }, { duration: 0.5, at: "-0.45" }],
  [".cape", { x: 200 }, { duration: 0.6, at: "-0.5" }]
]);

6. Slow In and Slow Out

Details

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

Questions

What does the motion-one skill teach Claude to do?

The motion-one skill teaches Claude to implement Disney's 12 animation principles with Motion One, a modern and lightweight animation library. It shows code for squash and stretch, anticipation, arc, timing and the other principles using the animate, timeline, stagger, spring, scroll and inView functions.

How do I install the motion-one skill?

Run npx -y skills add dylantarre/animation-principles --skill motion-one -y in a project to install the motion-one skill. Once installed, Claude can write Motion One animation code that applies the 12 principles to your interface.

Where does motion-one stand in the Animation & Motion category?

The motion-one skill is listed in the Animation & Motion category on Claude Marketplaces, alongside remotion-render and several hyperframes skills. Its focus is narrower than those, covering Motion One code for the 12 principles rather than video rendering or general motion design.

Does the motion-one skill need any extra tools or accounts?

The motion-one skill is built around the Motion One library, so your project needs the motion package to run its examples. The skill's code uses Web Animations API features, so it targets browser-based front-end projects.

More from dylantarre/animation-principles

All 144

Similar to Motion One

More Animation & Motion