View Transitions do React
Animação de transição com `<ViewTransition>`, addTransitionType e os pseudo-elementos de CSS.
vercel-react-view-transitions- Peso
- massivo
- 1.759 linhas · 600+ linhas
- Gatilho
- o agente chama
- O agente dispara sozinho quando a descrição bate com a tarefa.
- Encaixe
- 1 conflito
- Nenhum par documentado.
O que ela faz
Trezentas e trinta e três linhas sobre a API nativa que substitui biblioteca de animação em transição de rota, elemento compartilhado, reordenação de lista e navegação direcional no Next.
Quando não usar
Não use para animação de componente isolado — para isso, o pacote do Emil decide melhor.
Briga com
Ficha técnica
- Descrição original
- 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.
- Caminho no repo
skills/react-view-transitions/SKILL.md- SKILL.md
- 333 linhas
- Documentos de apoio
- AGENTS.md · README.md (+1.426 linhas)
- Seções
- When to Animate · Availability · Implementation Workflow · Core Concepts · Styling with View Transition Classes · Transition Types · Shared Element Transitions · Common Patterns · How Multiple VTs Interact · Next.js Integration · Accessibility · Reference Files · Full Compiled Document
Instalar — vem com o pacote inteiro (25 skills)
CLI skills
No terminal, de qualquer diretório.
npx skills add vercel-labs/agent-skills
O mesmo time publica o `npx skills` que instala quase tudo neste site.
→O que essa instalação faz na sua máquinaFechar
Como o método funciona
O gerenciador da Vercel Labs. Usa o GitHub como registro, copia para ~/.agents/skills e cria symlink para cada agente instalado na máquina.
Precisa ter
- Node 18+
Onde cai no disco
~/.agents/skills/ + symlink em ~/.claude/skills/
Sair
npx skills remove vercel-labs/agent-skillsDo mesmo pacote