Back to Router

TanStack Router - View Transitions Example

examples/react/view-transitions/README.md

1.166.7705 B
Original Source

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:

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

Getting Started

Install dependencies:

sh
pnpm install

Start the development server:

sh
pnpm dev

Build

Build for production:

sh
pnpm build

About This Example

This example demonstrates:

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