Back to Router

TanStack Router - Framer Motion Integration Example

examples/react/with-framer-motion/README.md

1.166.7802 B
Original Source

TanStack Router - Framer Motion Integration Example

An example demonstrating integration with Framer Motion for animations.

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/with-framer-motion with-framer-motion

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:

  • Framer Motion integration
  • Animated route transitions
  • Page animations
  • Gesture-based navigation
  • Advanced animation patterns