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

next-themes

Abstraction for managing themes (dark/light mode) in Next.js apps.

Web frameworks npm MIT

Used in agent projects
1,116
8.8% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#3 of 26
by use in those projects
Downloads
26.9M
npm, last 7 days, next-themes
GitHub stars
6,333
last push Feb 25, 2026

How next-themes is used

next-themes is a dependency in 1,116 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (8.8%), #3 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use clsx (93.5%), Tailwind Merge (93.0%), Lucide React (91.9%). It is more common in projects set up for Kiro (13.0%) than for OpenAI Codex (7.3%).

Often used with next-themes

clsx93.5% of next-themes projects · 5.3× more than average
Tailwind Merge93.0% of next-themes projects · 5.5× more than average
Lucide React91.9% of next-themes projects · 4.6× more than average
Class Variance Authority89.6% of next-themes projects · 6.4× more than average
Radix UI78.9% of next-themes projects · 6.6× more than average
Sonner72.1% of next-themes projects · 8.9× more than average
Tailwind CSS98.0% of next-themes projects · 2.8× more than average
Zod68.5% of next-themes projects · 4.0× more than average

By coding agent

Cursor12.4% of projects set up for it
Claude Code8.8% of projects set up for it
GitHub Copilot9.1% of projects set up for it
Gemini CLI9.1% of projects set up for it
OpenAI Codex7.3% of projects set up for it
OpenCode9.7% of projects set up for it
Devin Desktop11.3% of projects set up for it
Kiro13.0% of projects set up for it

Share of public repos configured for each agent that list next-themes as a dependency.

Install

Packagenpm install next-themes
Main stacksNext.js (818), TypeScript / JavaScript (269), Python (12), PHP (11)
Example projectsding113/claude-code-hub, miantiao-me/bm.md, kovrichard/catalyst, NeurProjects/neur-app, PageAI-Pro/vibe-coding-starter

Alternatives to next-themes

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
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
Is next-themes right for your project? Ask AgentGid →