vercel-react-view-transitions
Skill by sickn33
Guides developers through adding React and Next.js view transitions, shared element morphs and route animations. It uses the browser's native document.startViewTransition, with reduced-motion handling.
Install vercel-react-view-transitions
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/vercel-react-view-transitions ~/.claude/skills/vercel-react-view-transitionsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install vercel-react-view-transitions in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/vercel-react-view-transitions ~/.gemini/antigravity-cli/skills/vercel-react-view-transitionsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install vercel-react-view-transitions in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through adding view transitions to React and Next.js apps. It uses the browser's native document.startViewTransition. The skill says to declare what animates with the ViewTransition component, trigger when with startTransition, useDeferredValue or Suspense, and control how with CSS classes. It covers shared element morphs, route transitions and transition types.
The skill asks the assistant to audit an existing app before making changes. It says to copy CSS recipes from its reference files instead of writing animation CSS, and to add the reduced-motion CSS. Animations should communicate a spatial relationship or continuity, and the skill advises against adding ones that cannot be justified. It is aimed at developers building animated UI state changes in React or Next.js projects.
Written from the project's SKILL.md and checked against it.
What it can do
- Shared element morphsGives two ViewTransitions the same name so an element morphs between views.
- Transition typesTags navigations with addTransitionType and maps types to different enter, exit and share classes.
- Suspense revealsAnimates content arriving after a Suspense boundary resolves, using simple enter and exit props.
- List reorder animationUses per-item keys so list items animate when they move or change position.
- Route transitionsAdds directional slides for hierarchical navigation, such as list to detail.
- Reduced-motion handlingAdds reduced-motion CSS and tests unsupported-browser and reduced-motion behavior.
- Next.js integrationPoints to reference notes on the experimental flag, transitionTypes on next/link and App Router patterns.
What you need
- React and React DOM with ViewTransition support, verified for the installed version
- Next.js, for the Next.js integration guidance
- Browser support for document.startViewTransition, which the skill says to check
Try asking
- Add a shared element morph between a product list and its detail page in Next.js
- Animate a Suspense reveal in my React dashboard with a slide-up effect
- Set up directional route transitions with nav-forward and nav-back types
Good to know
- Router.back() and browser back and forward buttons do not trigger view transitions.
- Only one ViewTransition with a given name can be mounted at a time.
- When a parent ViewTransition exits, nested ones do not fire their own enter or exit animations.
- Next.js setup depends on the experimental viewTransition flag, according to the skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/vercel-react-view-transitions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/css-recipes.md5 KB -
references/implementation.md10 KB -
references/nextjs.md6 KB -
references/patterns.md8 KB
Alternatives to vercel-react-view-transitions
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
vercel-react-view-transitions: common questions
Does this skill work with Next.js App Router?
The skill includes Next.js and App Router guidance in its reference file references/nextjs.md. It also says to verify the installed Next.js version supports the required API first.
Do view transitions work in all browsers?
The skill says unsupported browsers skip animations gracefully. It also tells the assistant to inspect browser support for the specific features used.
Does the skill write the animation CSS for me?
The skill tells the assistant to copy CSS recipes from its reference files and not to write its own animation CSS.
How do I install vercel-react-view-transitions?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is vercel-react-view-transitions free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is vercel-react-view-transitions safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to vercel-react-view-transitions?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
