Index of every page on this site: llms.txt
All skills
robotostudio avatar

/vercel-react-view-transitions

@c0b29e4
Run it yourself

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.

  • 8 files
  • 75.6 KB
  • MIT
  • Updated 5 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/robotostudio/turbo-start-sanity/vercel-react-view-transitions

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈525 tokens on demand. Your agent reads this file only when SKILL.md points to it.

React View Transitions Skill

An agent skill for implementing smooth, native-feeling animations using React's View Transition API.

What This Skill Covers

  • <ViewTransition> component — animation triggers (enter, exit, update, share), placement rules, View Transition Classes
  • addTransitionType — tagging transitions for directional or context-specific animations
  • Shared element transitions — morphing elements across different views
  • View Transition Events — imperative JavaScript animations via the Web Animations API
  • CSS pseudo-elements — ::view-transition-old, ::view-transition-new, ::view-transition-group
  • Next.js integration — experimental.viewTransition, the transitionTypes prop on next/link, App Router patterns
  • Accessibility — prefers-reduced-motion handling
  • Ready-to-use CSS recipes — fade, slide, scale, directional navigation

Skill Structure

react-view-transitions/
├── SKILL.md                      # Core skill (always loaded)
├── AGENTS.md                     # Full compiled document (all references expanded)
└── references/
    ├── implementation.md         # Step-by-step implementation workflow
    ├── patterns.md               # Real-world patterns, events API, troubleshooting
    ├── nextjs.md                 # Next.js-specific patterns
    └── css-recipes.md            # Copy-paste CSS animations

Installation

Install via skills.sh:

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

Resources

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c0b29e4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 5 months ago
metadata
{
  "author": "vercel",
  "version": "1.0.0"
}

README badge

README badge for robotostudio/turbo-start-sanity/vercel-react-view-transitions