Skip to content

Animation patterns for route changes, modals, and shared-element transitions, mapped to Disney's 12 principles.

CCM score
54 of 100
skills.sh installs
815
GitHub stars
709
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers crossfade, slide, shared-element, bottom sheet, and modal patterns with CSS and View Transitions API examples
  • Includes a timing reference with durations and easing for each transition type, such as 200-300ms crossfades and 250-350ms modal opens
  • Enforces transform and opacity-only animation, with will-change: transform and instant transitions when reduced motion is requested
  • Designed for web and mobile teams who want navigation motion to feel smooth and oriented rather than theatrical

Install

$ npx -y skills add dylantarre/animation-principles --skill page-transitions -y

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

Files

Page Transition Animation

Apply Disney's 12 animation principles to route changes, view transitions, and navigation patterns.

Quick Reference

PrinciplePage Transition Implementation
Squash & StretchEntering page elastic effect
AnticipationExit animation before enter
StagingHero elements bridge views
Straight Ahead / Pose to PoseShared element vs crossfade
Follow Through / OverlappingContent settles after nav
Slow In / Slow OutAsymmetric enter/exit easing
ArcSlide transitions with curve
Secondary ActionBackground, nav state changes
Timing200-500ms total transition
ExaggerationReserved for emphasis moments
Solid DrawingConsistent spatial model
AppealSmooth, oriented navigation

Principle Applications

Squash & Stretch: Incoming pages can have subtle elastic settle. Modal sheets bounce slightly on full open. Pull-to-navigate stretches before triggering.

Anticipation: Current page begins exit before new page enters. Slight fade or scale prepares for change. Navigation indicator updates before page swaps.

Details

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

Questions

What does the page-transitions skill help with?

The page-transitions skill guides Claude when implementing route changes, view transitions, modal opens and closes, or navigation animation in web and mobile applications. It applies Disney's 12 animation principles to these page changes. It covers crossfade, slide, and shared element patterns with timing values in the 200 to 500 millisecond range.

How do I install the page-transitions skill?

Run npx -y skills add dylantarre/animation-principles --skill page-transitions -y in a project to install the page-transitions skill. The page-transitions skill then gives Claude page transition guidance for that project's navigation and modal work.

Which transition patterns does the page-transitions skill cover?

The page-transitions skill covers a default crossfade, a hierarchical slide with reversed back navigation, and a shared element hero transition using the View Transitions API. It also gives a timing reference for crossfades, slides, modals, shared elements and tab switches. Performance advice favors transform and opacity animations.

Where does the page-transitions skill sit in the Animation & Motion category?

The page-transitions skill is listed in the Animation & Motion category on Claude Marketplaces, next to remotion-render and several hyperframes skills. It is narrower than those, focused on page and view changes in applications rather than video or general motion tooling.

More from dylantarre/animation-principles

All 144

Similar to Page Transitions

More Animation & Motion