Jotai
Minimal React state management with atoms as primitive building blocks for flexibility.
State and data fetching npm MIT
Used in agent projects
124
1.0% of 12,697 public repos built with AI coding agents
Rank in state and data fetching
#5 of 20
by use in those projects
Downloads
6.6M
npm, last 7 days, jotai
GitHub stars
21.3K
last push Oct 7, 2026
How Jotai is used
Jotai is a dependency in 124 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.0%), #5 of 20 in state and data fetching. The most used alternative there is TanStack Query. Projects that use it most often also use TanStack Query (73.4%), Tailwind CSS (88.7%), React (100.0%).
Often used with Jotai
| TanStack Query | 73.4% of Jotai projects · 7.7× more than average |
|---|---|
| Tailwind CSS | 88.7% of Jotai projects · 2.6× more than average |
| React | 100.0% of Jotai projects · 2.3× more than average |
| Radix UI | 56.5% of Jotai projects · 4.7× more than average |
| Next.js | 69.4% of Jotai projects · 3.1× more than average |
| Class Variance Authority | 54.0% of Jotai projects · 3.8× more than average |
| Sonner | 47.6% of Jotai projects · 5.9× more than average |
| next-themes | 46.0% of Jotai projects · 5.2× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| Cursor | 0.7% of projects set up for it |
| GitHub Copilot | 0.6% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list Jotai as a dependency.
Install
| Package | npm install jotai |
|---|---|
| Main stacks | Next.js (83), TypeScript / JavaScript (41) |
| Example projects | liviuepure/baron-wallet, flow-industries/paper, Vectreal/vectreal-platform, wass08/r3f-portfolio-responsive, LastBotInc/nextjs-supabase-ai-webapp |
Alternatives to Jotai
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TanStack Query npm Hooks for managing, caching and synchronizing remote data in React. |
1,217 (9.6%) | 65.8M | 50.4K | MIT |
| Zustand npm Lightweight state management for React with minimal boilerplate. |
752 (5.9%) | 60.8M | 58.8K | MIT |
| RxJS npm Reactive programming library for composing async events and data streams in JavaScript. |
176 (1.4%) | 104M | 31.7K | Apache-2.0 |
| React Redux npm Official React bindings for Redux state management with hooks. |
135 (1.1%) | 39.2M | 23.4K | MIT |
| SWR npm React hooks library for data fetching with caching, revalidation and real-time updates. |
123 (1.0%) | 18.8M | 32.5K | MIT |
| Redux Toolkit npm Official Redux library with built-in best practices and reduced boilerplate for state management. |
120 (0.9%) | 32.6M | 11.2K | MIT |
| Immer npm Immutable state management by mutating a draft in a simpler API. |
77 (0.6%) | 64.6M | 29K | MIT |
| Pinia npm Intuitive, type-safe state management store for Vue applications. |
69 (0.5%) | 5.2M | 14.7K | MIT |