0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/view-transitions
github-actions[bot] 67d9e69d72 ci: changeset release
History 2026-03-22 09:30:34 +00:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
.vscode docs(react-router): add view transitions example (#3791) 2025-03-17 14:25:29 +13:00
src chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459) 2026-01-24 01:49:12 +01:00
.gitignore docs(react-router): add view transitions example (#3791) 2025-03-17 14:25:29 +13:00
index.html docs(react-router): add view transitions example (#3791) 2025-03-17 14:25:29 +13:00
package.json ci: changeset release 2026-03-22 09:30:34 +00:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
tsconfig.json docs(react-router): add view transitions example (#3791) 2025-03-17 14:25:29 +13:00
vite.config.js docs: move to tailwind 4 w/ vite (#6168) 2025-12-21 04:13:49 +01:00

TanStack Router - View Transitions Example

An example demonstrating view transitions for smooth page transitions.

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/view-transitions view-transitions

Getting Started

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

  • View Transitions API integration
  • Smooth page transitions
  • Animated route changes
  • Enhanced user experience