Skip to content
mcp/skillhub

Agent Skill

Vercel React View Transitions skill

vercel-react-view-transitionsvercel-labs/agent-skillsskills/react-view-transitions/SKILL.md

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.

33kMIT

always on

127 tokname + description

once used

3,157 tokSKILL.md body

bundled files

8105 KB

installs

163kskills.sh

Install the Vercel React View Transitions skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-view-transitions

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/vercel-labs/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -R /tmp/agent-skills/skills/react-view-transitions ~/.claude/skills/vercel-react-view-transitions

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description127 tok
When the agent uses itThe SKILL.md instructions3,157 tok
Only if opened8 bundled files (105 KB)varies

Until it is used, vercel-react-view-transitions costs about 11× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 9 skills from vercel-labs/agent-skills would load 623 tokens of descriptions. Skills vs MCP study

Checks

  • The name doesn't match its folder name, as the specification requires.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • React View Transitions
  • When to Animate
  • Choosing Animation Style
  • Availability
  • Implementation Workflow
  • Core Concepts
  • The <ViewTransition> Component
  • Animation Triggers
  • Critical Placement Rule
  • Styling with View Transition Classes
  • Props
  • CSS Pseudo-Elements
  • Transition Types
  • router.back() and Browser Back Button
  • Types and Suspense
  • Shared Element Readiness
  • Shared Element Transitions
  • Common Patterns
  • Enter/Exit
  • List Reorder
  • Layout Displacement Morph
  • Composing Shared Elements with List Identity
  • Force Re-Enter with key
  • Suspense Fallback to Content

More skills from vercel-labs/agent-skills

All skills in this repo
  1. vercel-react-best-practicesvercel-labs/agent-skills

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    827k67 tok idle · 1,669 in use
  2. web-design-guidelinesvercel-labs/agent-skills

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

    769k44 tok idle · 190 in use
  3. vercel-composition-patternsvercel-labs/agent-skills

    React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

    411k58 tok idle · 532 in use
  4. vercel-react-native-skillsvercel-labs/agent-skills

    React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

    250k57 tok idle · 949 in use
  5. deploy-to-vercelvercel-labs/agent-skills

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

    165k247 tok idle · 2,823 in use
  6. vercel-cli-with-tokensvercel-labs/agent-skills

    Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

    132k59 tok idle · 2,614 in use
  7. vercel-optimizevercel-labs/agent-skills

    Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.

    107k90116 tok idle · 3,819 in use
  8. writing-guidelinesvercel-labs/agent-skills

    Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".

    103k48 tok idle · 188 in use