
Pinia
Store library for Vue that shares state across components and pages.
Pinia is a store library for Vue. A store holds state and business logic outside the component tree, built from state, getters and actions, so components and pages can share it. The docs cover server-side rendering and a Nuxt module published from the same repository, and the project names itself the successor of Vuex.
Worth knowing
The current line works with Vue 3, and the README points to a separate branch for Vue 2. Pinia targets modern browsers and uses Object.hasOwn(), so older browsers need a polyfill.
Identity
Rendering and deploy
- Install with
- npm2
Releases
Adoption
Sources
- 2026-11-16: links, Categories
pinia.vuejs.org - 2026-11-16: links, Install with
pinia.vuejs.org/getting-started.html - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/vuejs/pinia - 2026-11-16: Maintainer, License, License model
github.com/vuejs/pinia/blob/v4/LICENSE - 2026-11-16: First release
registry.npmjs.org/pinia - 2026-11-16: Built on
pinia.vuejs.org/introduction.html - 2026-11-16: Current major version, Last release
github.com/vuejs/pinia/releases/tag/v4.1.0 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/pinia - 2026-11-16: Contributors
api.github.com/repos/vuejs/pinia/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pinia