React <ViewTransition>
freeReact 19.3's built-in wrapper for the browser View Transitions API: animated route and state changes with no library.

Try these
Motion
The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.
dotLottie React
Player for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.
For your agent
Install
npm i react@^19.3 react-dom@^19.3Use it for
- a list thumbnail that morphs into the detail page header on navigation (shared name)
- cross-fading between routes or tab panels in React 19.3+
- a content swap where you want the browser to snapshot old and new states for you
Skip it when
- React 19.2 or older: use motion's layoutId, or next-view-transitions in Next.js
- gesture-driven or interruptible motion (drag, swipe): view transitions cannot be scrubbed or interrupted; use motion
- frequent micro-interactions (hover, toggles): each transition freezes interaction briefly; use CSS transitions
What's inside8 free
- <ViewTransition>
- addTransitionType
- Enter/exit animation
- Shared element animation
- List reorder animation
- Suspense animation
- Activity enter/exit
- Transition types
Facts
- Frameworks
- react
- Styling
- css
- Weight
- tiny
- Accessibility
- ok
- Maturity
- stable
- License
- MIT
- Price
- Free
Pairs with
Alternatives
import { ViewTransition, startTransition } from 'react'
<ViewTransition>
<Panel key={tab} />
</ViewTransition>
<button onClick={() => startTransition(() => setTab('settings'))}>Settings</button>https://react.dev/reference/react/ViewTransition
Loading website