Pinia
The official, intuitive and type-safe state management library for Vue.
Pinia replaced Vuex as Vue's recommended store, offering a simpler API without mutations and excellent TypeScript inference. Stores are modular by default and integrate with Vue DevTools. It works with both the Options and Composition APIs and supports server-side rendering.
- Type
- Library
- Category
- Web
- Maintainer
- Vue core team (Eduardo San Martin Morote)
- First released
- 2019
- License
- Open source (MIT)
- Pricing
- Open source
- Level
- Beginner
- Technologies
- vue, typescript
- GitHub stars
- 14,778
- Weekly downloads
- 7,957,541 (npm)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What Pinia is used for
- Shared state in Vue apps
- Nuxt stores
Strengths
- Simple API
- Great type inference
- DevTools integration
Limitations
- Vue only