Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

React Router

Declarative routing library for building single-page React applications.

Web frameworks npm MIT

Used in agent projects
972
7.7% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#4 of 26
by use in those projects
Downloads
44.8M
npm, last 7 days, react-router-dom
GitHub stars
56.6K
last push Oct 9, 2026

How React Router is used

React Router is a dependency in 972 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (7.7%), #4 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use Vite (79.9%), React (96.8%), Framer Motion (44.8%). It is more common in projects set up for Roo Code (10.6%) than for OpenAI Codex (3.1%).

Often used with React Router

Vite79.9% of React Router projects · 3.5× more than average
React96.8% of React Router projects · 2.2× more than average
Framer Motion44.8% of React Router projects · 3.3× more than average
Tailwind CSS70.9% of React Router projects · 2.0× more than average
React Three Fiber49.0% of React Router projects · 2.6× more than average
Three.js46.8% of React Router projects · 2.6× more than average
ESLint65.5% of React Router projects · 1.7× more than average
Lucide React44.9% of React Router projects · 2.3× more than average

By coding agent

Cursor6.9% of projects set up for it
Claude Code4.4% of projects set up for it
GitHub Copilot3.4% of projects set up for it
Devin Desktop9.1% of projects set up for it
OpenAI Codex3.1% of projects set up for it
Gemini CLI3.2% of projects set up for it
Kiro8.9% of projects set up for it
Roo Code10.6% of projects set up for it

Share of public repos configured for each agent that list React Router as a dependency.

Install

Packagenpm install react-router-dom
Main stacksTypeScript / JavaScript (898), Next.js (34), Python (29), Rust (5)
Example projectsthepower/PowerDapp, 1600822305/AetherLink, storybookjs/mealdrop, hzrd149/nostrudel, whatisjery/react-fluid-distortion

Alternatives to React Router

All web frameworks

Tool Used in agent projectsDownloads / wk GitHub starsLicense
React npm
JavaScript library for building interactive user interfaces with components.
5,510 (43.4%) 186M 251K MIT
Next.js npm
React framework for production with server-side rendering and static generation.
2,861 (22.5%) 66.2M 143K MIT
next-themes npm
Abstraction for managing themes (dark/light mode) in Next.js apps.
1,116 (8.8%) 26.9M 6,333 MIT
Vue npm
Progressive JavaScript framework for building interactive user interfaces.
210 (1.7%) 17.1M 54.6K MIT
Astro npm
Modern static site builder with partial hydration and zero JavaScript by default.
133 (1.0%) 7.1M 63.1K MIT
React Native Web npm
React Native APIs and components for web allowing code sharing between web and mobile.
121 (1.0%) 7.2M 22.1K MIT
Angular npm
Full-featured web framework with TypeScript, dependency injection and RxJS.
104 (0.8%) 5.9M 101K MIT
Svelte npm
Compiler-based frontend framework for building reactive web interfaces with less boilerplate.
102 (0.8%) 6.5M 88.4K MIT
Is React Router right for your project? Ask AgentGid →