vercel-labs/agent-skills · Official

vercel-react-view-transitions

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.

All-time #329 Trending #283 First seen Mar 31, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/vercel-labs/agent-skills
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

Summary

  • Native browser animations for React UI state changes using the View Transition API.
  • Declare animations with <ViewTransition> component; trigger with startTransition , useDeferredValue , or Suspense ; control styling via CSS classes and pseudo-elements Supports five animation patterns in priority order: shared elements (morphing), Suspense reveals, list identity (reorder), state changes (enter/exit), and route changes Use addTransitionType to apply context-aware animations (e.g., directional slides for hierarchical navigation, fades for lateral tabs) Works in Next.js App Router out of the box; requires react@canary for standalone React; gracefully degrades on unsupported browsers (Chromium 111+, Firefox 144+, Safari 18.2+) Includes step-by-step implementation workflow, CSS animation recipes, and patterns for shared elements, list reorder, Suspense reveals, and directional navigation

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub Reviewed

Analyzed Sep 14, 2026

snyk Reviewed

Analyzed Sep 14, 2026

socket Score 0.9000 · 0 alerts

Analyzed Sep 14, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from vercel-labs/agent-skills · top by installs.

npx skills add https://github.com/vercel-labs/agent-skills

Browse all from vercel-labs/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 31.0K
Default branch main
Open issues 173
Last push Aug 28, 2026
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 116,317 installs