React
JavaScript library for building interactive user interfaces with components.
Web frameworks npm MIT
Used in agent projects
5,510
43.4% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#1 of 26
by use in those projects
Downloads
186M
npm, last 7 days, react
GitHub stars
251K
last push Oct 9, 2026
How React is used
React is a dependency in 5,510 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (43.4%), #1 of 26 in web frameworks. The most used alternative there is Next.js. Projects that use it most often also use Tailwind CSS (71.3%), ESLint (67.1%), Next.js (51.6%).
Often used with React
| Tailwind CSS | 71.3% of React projects · 2.1× more than average |
|---|---|
| ESLint | 67.1% of React projects · 1.8× more than average |
| Next.js | 51.6% of React projects · 2.3× more than average |
| TypeScript | 77.7% of React projects |
| Lucide React | 44.6% of React projects · 2.2× more than average |
| clsx | 39.1% of React projects · 2.2× more than average |
| Tailwind Merge | 37.1% of React projects · 2.2× more than average |
| Vite | 40.4% of React projects · 1.8× more than average |
By coding agent
| Claude Code | 37.8% of projects set up for it |
|---|---|
| Cursor | 39.6% of projects set up for it |
| GitHub Copilot | 31.8% of projects set up for it |
| Gemini CLI | 33.1% of projects set up for it |
| OpenAI Codex | 30.7% of projects set up for it |
| Devin Desktop | 42.7% of projects set up for it |
| OpenCode | 29.7% of projects set up for it |
| Kiro | 41.1% of projects set up for it |
Share of public repos configured for each agent that list React as a dependency.
Install
| Package | npm install react |
|---|---|
| Packages counted | react, react-dom |
| Main stacks | Next.js (2,744), TypeScript / JavaScript (2,455), React Native / Expo (149), Python (73) |
| Example projects | Automattic/wp-calypso, ding113/claude-code-hub, c15t/c15t, sunflower-land/sunflower-land, vega-org/vega-app |
Alternatives to React
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| 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 |
| Svelte npm Compiler-based frontend framework for building reactive web interfaces with less boilerplate. |
102 (0.8%) | 6.5M | 88.4K | MIT |