wouter
Minimalist ~1.5KB client-side router for React applications with hooks API.
Web frameworks npm Unlicense
Used in agent projects
57
0.4% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#15 of 26
by use in those projects
Downloads
2M
npm, last 7 days, wouter
GitHub stars
7,903
last push Oct 5, 2026
How wouter is used
wouter is a dependency in 57 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #15 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use Vite (93.0%), clsx (89.5%), Tailwind Merge (87.7%).
Often used with wouter
| Vite | 93.0% of wouter projects · 4.1× more than average |
|---|---|
| clsx | 89.5% of wouter projects · 5.0× more than average |
| Tailwind Merge | 87.7% of wouter projects · 5.2× more than average |
| Class Variance Authority | 86.0% of wouter projects · 6.1× more than average |
| Radix UI | 84.2% of wouter projects · 7.0× more than average |
| TanStack Query | 84.2% of wouter projects · 8.8× more than average |
| Lucide React | 84.2% of wouter projects · 4.2× more than average |
| React Hook Form | 82.5% of wouter projects · 10.3× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| Cursor | 0.5% of projects set up for it |
| GitHub Copilot | 0.4% of projects set up for it |
Share of public repos configured for each agent that list wouter as a dependency.
Install
| Package | npm install wouter |
|---|---|
| Main stacks | TypeScript / JavaScript (46), Python (8), Next.js (1), Go (1) |
| Example projects | Asvarox/allkaraoke, bitrise-io/bitrise-workflow-editor, gopaljilab/Clinical-Insight-Engine, IlyaGrshin/wallet_animations, Aimagine-life/Betsy |
Alternatives to wouter
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| 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 |
| React Router npm Declarative routing library for building single-page React applications. |
972 (7.7%) | 44.8M | 56.6K | 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 |