Next.js
React framework for production with server-side rendering and static generation.
Web frameworks npm MIT
Used in agent projects
2,861
22.5% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#2 of 26
by use in those projects
Downloads
66.2M
npm, last 7 days, next
GitHub stars
143K
last push Oct 10, 2026
How Next.js is used
Next.js is a dependency in 2,861 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (22.5%), #2 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use React (99.3%), Tailwind CSS (87.8%), ESLint (80.1%). It is more common in projects set up for Claude Code (21.6%) than for OpenCode (13.1%).
Often used with Next.js
| React | 99.3% of Next.js projects · 2.3× more than average |
|---|---|
| Tailwind CSS | 87.8% of Next.js projects · 2.5× more than average |
| ESLint | 80.1% of Next.js projects · 2.1× more than average |
| Lucide React | 55.3% of Next.js projects · 2.8× more than average |
| clsx | 51.5% of Next.js projects · 2.9× more than average |
| TypeScript | 91.2% of Next.js projects · 1.6× more than average |
| Tailwind Merge | 49.5% of Next.js projects · 2.9× more than average |
| Class Variance Authority | 42.4% of Next.js projects · 3.0× more than average |
By coding agent
| Claude Code | 21.6% of projects set up for it |
|---|---|
| GitHub Copilot | 18.7% of projects set up for it |
| Cursor | 20.8% of projects set up for it |
| Gemini CLI | 18.3% of projects set up for it |
| OpenAI Codex | 13.4% of projects set up for it |
| Devin Desktop | 20.4% of projects set up for it |
| OpenCode | 13.1% of projects set up for it |
| Kiro | 19.2% of projects set up for it |
Share of public repos configured for each agent that list Next.js as a dependency.
Install
| Package | npm install next |
|---|---|
| Packages counted | next, @next/bundle-analyzer, @next/eslint-plugin-next, @next/third-parties, @next/mdx, @next/font, @next/swc-wasm-nodejs, @next/env |
| Main stacks | Next.js (2,739), TypeScript / JavaScript (116), Python (4), Rust (2) |
| Example projects | ding113/claude-code-hub, veithly/BountyBoard, pmndrs/threejs-journey, kovrichard/catalyst, NeurProjects/neur-app |
Alternatives to Next.js
| 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-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 |