Skip to content

shadcn-labs/termcn / .agents/skills/vercel-react-view-transitions

vercel-react-view-transitions

Verified

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.

FileKindSize
AGENTS.mdmarkdown31.5 KB
README.mdmarkdown2.0 KB
SKILL.mdskill md12.2 KB
metadata.jsonconfig852 B
references/css-recipes.mdmarkdown5.1 KB
references/implementation.mdmarkdown9.9 KB
references/nextjs.mdmarkdown5.7 KB
references/patterns.mdmarkdown8.2 KB

metadata.json

View on GitHub
{
  "version": "1.0.0",
  "organization": "Vercel Engineering",
  "date": "March 2026",
  "abstract": "Guide for implementing smooth, native-feeling animations using React's View Transition API. Covers the <ViewTransition> component, addTransitionType, CSS view transition pseudo-elements, shared element transitions, JavaScript animations via Web Animations API, and Next.js integration including the transitionTypes prop on next/link. Includes ready-to-use CSS animation recipes and real-world patterns from production Next.js apps.",
  "references": [
    "https://react.dev/reference/react/ViewTransition",
    "https://react.dev/reference/react/addTransitionType",
    "https://nextjs.org/docs/app/api-reference/config/next-config-js/viewTransition",
    "https://github.com/vercel/next-app-router-playground/tree/main/app/view-transitions"
  ]
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall