121downloads

React View Transition animations skill

Add React View Transition page and element animations. Work with transition types, route changes and shared elements while respecting motion preferences.

When it runs

Your agent reads this description from SKILL.md to decide when to load the skill:

Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

What SKILL.md covers

  • When to Animate
  • Availability
  • Implementation Workflow
  • Core Concepts
  • Styling with View Transition Classes
  • Transition Types
  • Shared Element Transitions
  • Common Patterns
  • How Multiple VTs Interact
  • Next.js Integration
  • Accessibility
  • Reference Files
  • Full Compiled Document

Files in the ZIP

Related skills