page-transition-animation

Installation
SKILL.md

Page Transition Animation — Native & Framework Route Motion


Mandatory Pre-Flight Context Inspection

Before engineering route or page transitions, you MUST inspect:

  1. Target Framework & API (View Transitions API vs Framer Motion AnimatePresence)
  2. AnimatePresence Keying (Section 69) → Enforce key={pathname} and mode="wait" to prevent double-page DOM stacking
  3. Vertical Displacement Cap → Keep route movement under $12\text{px}$ to prevent visual scroll shifts

Architect smooth, seamless page and route transitions without layout jumps or frozen exit states.

Activation Boundaries

  • Activate when: Operating in tasks requiring Page and route transition patterns using the native View Transitions API, Framer Motion AnimatePresence, and Next.js App Router exit animations..
  • DO NOT activate when: The task falls strictly outside page-transition-animation domain or belongs to a different dedicated specialist.
Installs
1
GitHub Stars
7
First Seen
Sep 13, 2026