Nano Stores
Tiny state manager with atomic stores for React, Preact, Vue and Svelte.
State and data fetching npm MIT
How Nano Stores is used
Nano Stores joined the catalog on its public numbers (8,397,539 downloads a week on npm and 7,630 GitHub stars), not on our project count: it is a dependency in 17 public GitHub projects of our scan, 8 of them set up for AI coding agents. The most used alternative in our scan is Zustand (361 projects). Projects that use it most often also use Nano Stores React (76.5%), Astro (47.1%), Tailwind Merge (58.8%).
Nano Stores popularity over time
Gid Score 58: downloads 84, use in agent projects 25, GitHub stars 46, downloads trend 74 (each 0-100). How it is calculated.
Often used with Nano Stores
| Nano Stores React | 76.5% of Nano Stores projects · 791.2× more than average |
|---|---|
| Astro | 47.1% of Nano Stores projects · 25.2× more than average |
| Tailwind Merge | 58.8% of Nano Stores projects · 3.1× more than average |
| clsx | 58.8% of Nano Stores projects · 3.0× more than average |
| React | 76.5% of Nano Stores projects · 2.3× more than average |
| Vitest | 58.8% of Nano Stores projects · 2.9× more than average |
| Radix UI | 47.1% of Nano Stores projects · 3.6× more than average |
| Class Variance Authority | 52.9% of Nano Stores projects · 3.2× more than average |
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list Nano Stores as a dependency.
How Nano Stores is funded
GitHub Sponsors
| @ai | 17 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes Nanoid (JavaScript), size-limit, Browserslist.
Ways to fund Nano Stores
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install nanostores |
|---|---|
| Main stacks | TypeScript / JavaScript (12), Next.js (3), Python (2) |
| Example projects | sparrow-js/an-codeAI, ag-grid/ag-charts, tangle-network/dapp, hireshBrem/browsor-ai-agent, harizibamv/zencoder |
Alternatives to Nano Stores
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Nano Stores are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Zustand npm Lightweight state management for React with minimal boilerplate. |
84 | 361 (7.5%) | 37.7M | 58.8K | MIT |
| Jotai npm Minimal React state management with atoms as primitive building blocks for flexibility. |
66 | 35 (0.7%) | 3.8M | 21.3K | MIT |
More in State and data fetching: TanStack Query RxJS Pinia SWR nuqs Immer React Redux Redux Toolkit