本文へスキップ
Kitbay
スキル

vercel-react-view-transitions

MIT2026年10月28日 更新33,877GitHubスター

This Vercel Labs skill explains how to animate interface changes with React's View Transition support, built on the browser's startViewTransition.

スキルの内容

This Vercel Labs skill explains how to animate interface changes with React's View Transition support, built on the browser's startViewTransition. It covers the ViewTransition component, what triggers an animation, where components must be placed, styling through CSS classes and view-transition pseudo-elements, transition types, shared element transitions, enter and exit, list reordering, Suspense fallbacks, Next.js integration and accessibility. It also asks the agent to justify each animation by what it communicates to the user. It concerns React code and does not use the Vercel platform.

できること

  • Add page and route transitions with ViewTransition
  • Create shared element animations between views
  • Animate list reordering and enter or exit of components
  • Wire transition types into Next.js navigation