web-motion-design

web-motion-design is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 26 tokens per session (910 once invoked), scanned A, original, MIT.

A guide for designing animation in web interfaces with CSS, JavaScript, React, or Vue. It covers transitions, keyframes, interaction states, timing, and motion paths.

In plain words
What is it for?
It is for building animated buttons, dropdowns, page elements, loading states, and other frontend interactions.
Why use it?
It helps make browser animations purposeful, readable, and consistent instead of distracting or poorly timed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for building animated buttons, dropdowns, page elements, loading states, and other frontend interactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/web-motion-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dylantarre/animation-principles --skill web-motion-design
Clone the repo
git clone --depth 1 https://github.com/dylantarre/animation-principles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-motion-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylantarre/animation-principles/web-motion-design/github.svg)](https://agentmods.dev/skills/dylantarre/animation-principles/web-motion-design)
Your own site
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/web-motion-design"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/web-motion-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-motion-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/web-motion-design"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/web-motion-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00910
Opus 5.5 $0.00010 $0.00364
Sonnet 5.5 $0.00005 $0.00182
Haiku 4.5 $0.00003 $0.00091

Measured 3mo ago against content hash 5fd447db3456, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-motion-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/01-by-domain/web-motion-design/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Motion Design

Apply Disney's 12 animation principles to CSS, JavaScript, and frontend frameworks.

Quick Reference

Principle Web Implementation
Squash & Stretch transform: scale() on interaction states
Anticipation Slight reverse movement before action
Staging Focus user attention with motion hierarchy
Straight Ahead / Pose to Pose JS frame-by-frame vs CSS keyframes
Follow Through / Overlapping Staggered child animations, elastic easing
Slow In / Slow Out ease-in-out, cubic-bezier curves
Arc motion-path or bezier translate transforms
Secondary Action Shadows, glows responding to primary motion
Timing Duration: micro 100-200ms, standard 200-400ms
Exaggeration Scale beyond 1.0, overshoot animations
Solid Drawing Consistent transform-origin, 3D perspective
Appeal Smooth 60fps, purposeful motion design

Principle Applications

Squash & Stretch: Apply scaleY compression on button press, scaleX stretch on hover. Keep volume constant—if you compress Y, expand X slightly.

Anticipation: Before expanding a dropdown, shrink it 2-3% first. Before sliding content left, move it 5px right.

Staging: Dim background elements during modal focus. Use motion to direct eye flow—animate important elements first.

Straight Ahead vs Pose to Pose: Use CSS @keyframes for predictable, repeatable animations (pose to pose). Use JavaScript/GSAP for dynamic, physics-based motion (straight ahead).

Follow Through & Overlapping: Child elements should complete movement after parent stops. Use animation-delay with decreasing values for natural stagger.

Slow In / Slow Out: Never use linear for UI motion. Standard easing: cubic-bezier(0.4, 0, 0.2, 1). Enter: cubic-bezier(0, 0, 0.2, 1). Exit: cubic-bezier(0.4, 0, 1, 1).

Arc: Elements in nature move in arcs, not straight lines. Use offset-path or combine X/Y transforms with different easings.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 79 lines · 26 tokens per session scan A 5fd447db3456

Subscribe to this mod's changes

web-motion-design is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 26 tokens to every session and 910 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

web-motion-design compared with skills from other repositories

web-motion-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-motion-designdylantarre/animation-principlesSkill73511mo agoMITA26Claude Code, Codex
cuboid-carouselheygen-com/hyperframesSkill93ktodayApache-2.0A45Claude Code
code-slice-heroheygen-com/hyperframesSkill93ktodayApache-2.0A44Claude Code
canopy-part-titleheygen-com/hyperframesSkill93ktodayApache-2.0A36Claude Code
animation-vocabularyemilkowalski/skillsSkill62kyesterdayMITA98Claude Code
remove-animationsemilkowalski/skillsSkill62kyesterdayMITB127Claude Code
htmlplannotator/effective-htmlSkill4.4k7d agoMITA107Claude Code, Codex