
Jotai
Primitive and flexible state management for React
The Lens
Jotai strips React state management back to the basics: atoms that hold values and update components, nothing more. You create atoms (small pieces of state), use them in components, and React re-renders only what changed. That's it.
Think of atoms like individual useState hooks that any component in your app can read and write to. No providers wrapping your entire app, no boilerplate. You write `const countAtom = atom(0)` and use it anywhere. Derived state is just an atom that reads other atoms.
What makes Jotai different from Zustand (its sibling from the same team): Jotai is bottom-up. You build small atoms and compose them. Zustand is top-down: one store with slices. For apps with lots of independent pieces of state that occasionally depend on each other, Jotai's model clicks faster. Async atoms handle data fetching without extra libraries. Integration with React Suspense works out of the box. TypeScript support is excellent.
The catch: the ecosystem is smaller than Redux or Zustand. If your team already knows Redux, switching saves zero time. And for simple apps, useState plus context is still fine; Jotai shines when you have 20+ pieces of interconnected state.
Free vs Self-Hosted vs Paid
fully free### Free
Fully open source under the MIT license. No paid tier, no cloud service, no premium features. It's a client-side library that runs in the browser.
### Cost Breakdown
- **Software cost:** $0 - **Bundle size:** ~3.9KB gzipped for the core. Minimal impact on your app's performance budget. - **Infrastructure cost:** $0 (runs in the browser)
### The Math
Free. The cost is learning time: maybe a day to understand the atom model if you're coming from Redux. The pmndrs team (Poimandres) maintains Jotai, Zustand, and React Three Fiber, so the project isn't going anywhere.
Completely free. MIT licensed, maintained by a prolific open source collective.
Similar Tools
About
- Stars
- 21,103
- Forks
- 709
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.

