This applies Disney's 12 animation principles to route changes and navigation patterns, which sounds academic but is actually dead practical. You get timing tables (200ms for crossfades, 300-400ms for slides), working CSS for standard patterns, and opinionated guidance like "exit ease-in, enter ease-out, never linear." It covers the View Transitions API for shared element morphs and includes a reduce-motion reminder. The best part is the restraint advice: regular navigation should be smooth, not theatrical, because users navigate constantly. If you've ever needed to justify why your page transitions feel wrong, the staging and timing sections will fix it.

skills.sh installs
718
GitHub stars
146
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/dylantarre/animation-principles
Categories
Mobile Development, Design & UI/UX
First seen
Jun 3, 2026

More from dylantarre/animation-principles

All 144
1marswaveai avatarmusicmarswaveai/skillsGenerate, remix, extend, edit, and analyze AI music (Mureka). Triggers on: "音乐", "music", "生成音乐", "generate music", "翻唱", "cover", "混音", "remix", "续写", "extend"710skills.sh installs
2secondsky avatarresponsive-web-designsecondsky/claude-skillsBuilds adaptive web interfaces using Flexbox, CSS Grid, and media queries with a mobile-first approach. Use when creating multi-device layouts, implementing fle703skills.sh installs
3mindrally avatarmonorepo-tamaguimindrally/skillsMonorepo development guidelines using Tamagui, Turbo, Next.js, Expo, Supabase, and cross-platform best practices.701skills.sh installs
4alirezarezvani avatarapple-hig-expertalirezarezvani/claude-skillsAudits and designs iOS/macOS/watchOS/visionOS interfaces against the Apple Human Interface Guidelines, including the Liquid Glass design language (announced WWD692skills.sh installs
5awesome-skills avatarcode-review-excellenceawesome-skills/code-review-skillProvides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, PHP, Python, Django, Go, C#/.NET, Kotlin, NestJS688skills.sh installs
6joellewis avatarintegration-patternsjoellewis/finance_skillsDesign and implement integration architectures connecting financial systems — APIs, FIX protocol, ISO 20022, event-driven patterns, batch feeds, idempotency, an688skills.sh installs