# TanStack Router

A modern and scalable routing library designed specifically for React, specializing in type safety and efficient data management.

[Website](https://tanstack.com/router/latest) [GitHub](https://github.com/TanStack/router) [npm](https://npmjs.com/package/@tanstack/react-router)

TanStack Router offers a fully type-safe routing solution for React applications. This library re-engineers modern routing patterns for better developer experience without sacrificing safety.

The router simplifies data fetching, allowing for instant navigations with built-in caching and automatic preloading. It features a versatile loader API that prevents waterfalls during data fetching, keeping users engaged as pages load in parallel.

Additionally, TanStack Router provides an advanced search param API that improves state management by enabling schemas, validation, and manipulation of URL search parameters. This capability minimizes reliance on in-memory state and enhances the user experience.

With lightweight architecture (only 12kb), it maintains performance and scalability, making it a reliable choice for deploying high-performance applications. Integration with partners like Vercel, Clerk, Convex, and Sentry enhances its value, ensuring security, real-time data interactions, and effective monitoring of applications.

## Features

- 100% Typesafe
- Parallel Route Loaders
- 1st-class Search Param APIs
- Nested/Layout Routes
- Lightweight (12kb)
- Suspense + Transitions
- Strict Navigation
- Auto-completed Paths
- Search Param Schemas
- Search Param Validation
- Search Param Parsing + Serialization
- Search Param Pre/Post Processing
- Structural Sharing
- Automatic Prefetching
- Asynchronous Elements
- Pending Elements
- Error Boundaries

## Details

**GitHub Stars**

8.4K

**NPM Downloads**

228.8K/week

**Latest Version**

1.86.1

**Created at**

Jan 14, 2019

**Updated at**

Dec 6, 2024

**License**

MIT License

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20KickstartUI)

[Ad The agent-ready plugin suite for WordPress.](https://sleekwp.com/?ref=kickstartui)

## Related Items

### [TanStack Start](https://kickstartui.com/details/tanstack-start/)

Full‑stack meta framework for React and Solid with type‑safe routing, SSR, streaming, server functions, and Vite‑powered bundling, ready to deploy anywhere.

**GitHub Stars**

10.8K

**Updated at**

Aug 17, 2025

**License**

MIT License

### [React Router](https://kickstartui.com/details/react-router/)

An essential tool for managing routing and navigation in React applications, enhancing both developer efficiency and application performance.

**GitHub Stars**

53.4K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [Hybrids](https://kickstartui.com/details/hybrids/)

This framework empowers developers to build efficient, maintainable web applications and components using a combination of declarative and functional programming techniques.

**GitHub Stars**

3.1K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [Inertia.js](https://kickstartui.com/details/intertiajs/)

This solution simplifies the development of modern web applications with an approach that embraces modern client-side techniques while retaining the simplicity of traditional server-rendered applications.

**GitHub Stars**

6.6K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [nuqs](https://kickstartui.com/details/nuqs/)

Manage application state in Next.js effortlessly by utilizing the URL query string for state persistence and synchronization.

**GitHub Stars**

5.1K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [React Hook Form](https://kickstartui.com/details/react-hook-form/)

A powerful form handling library that simplifies the process of managing forms in React applications, with a focus on performance and usability.

**GitHub Stars**

41.8K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [usehooks-ts](https://kickstartui.com/details/usehooks-ts/)

A collection of React hooks that enhances your development process by providing ready-to-use solutions, ensuring strong typing and efficiency in your applications.

**GitHub Stars**

6.6K

**Updated at**

Dec 6, 2024

**License**

MIT License

### [TanStack Form](https://kickstartui.com/details/tanstack-form/)

Headless, type-safe form state management with schema-agnostic validation, fine-grained subscriptions, and ergonomic APIs for building complex forms.
