# Valtio

[BASE product page](<https://base.akulich.dev/en/library/valtio/>) · [Resource](<https://github.com/pmndrs/valtio>)

ID: valtio · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Manages JavaScript state through proxies and snapshots: lets you modify objects normally and subscribe React components to changes\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/valtio/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/valtio/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/valtio/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/valtio/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/valtio/#resource-tasks>)

- Update a shared state object through a proxy
- Connect snapshots to React UI and check its response to changes

## Category IDs

- frontend
- design

## Subcategory IDs

- frontend\.components
- design\.systems
- frontend\.state

## Tags

- Valtio
- UI
- Development

## Also known as

- pmndrs/valtio
- valtio
- valtio\-state
- pmndrs\-valtio

## [Selection purpose](<https://base.akulich.dev/en/library/valtio/#resource-selection>)

Update a shared state object through a proxy

## [Choose this when](<https://base.akulich.dev/en/library/valtio/#resource-selection>)

- Update a shared state object through a proxy
- Connect snapshots to React UI and check its response to changes

## [Consider alternatives when](<https://base.akulich.dev/en/library/valtio/#resource-selection>)

- When choosing for this topic, compare Valtio with Immer\. A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- When choosing for this topic, compare Valtio with Jotai\. A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Requirements](<https://base.akulich.dev/en/library/valtio/#resource-selection>)

- For Valtio v2 with React, the README specifies React 18\+\. subscribe returns an unsubscribe function\.

## [Limitations](<https://base.akulich.dev/en/library/valtio/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- A snapshot is deeply readonly: a method using this cannot change frozen state when called on a snapshot\. The README also notes a useTransition limitation when async data is consumed through use\.

## [Questions before use](<https://base.akulich.dev/en/library/valtio/#resource-faq>)

### What can you use for free in Valtio?

Code and local use under MIT\.

### What additional costs might arise with Valtio?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Valtio?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Valtio?

Describe proxy state and permitted changes to its fields\. Connect snapshots to React UI and check its response to changes\. Configure styles and check empty, loading, and error states\.

### Where should you read and update Valtio state?

proxy tracks object changes\. Read useSnapshot during React render and modify the original proxy in handlers; useSnapshot tracks the properties being used\. For plain JavaScript, proxy, subscribe, and snapshot are available from valtio/vanilla\.

## Related resources selected by editors

- immer: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- jotai: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- zustand: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://github\.com/pmndrs/valtio](<https://github.com/pmndrs/valtio>)
- [https://raw\.githubusercontent\.com/pmndrs/valtio/HEAD/README\.md](<https://raw.githubusercontent.com/pmndrs/valtio/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/pmndrs/valtio/HEAD/LICENSE](<https://raw.githubusercontent.com/pmndrs/valtio/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/valtio/#resource-scenario>)

Update a shared state object through a proxy\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The component's design, states, and data\.
- A compatible framework and the project's styles\.

## Steps

1. Describe proxy state and permitted changes to its fields\.
2. Connect snapshots to React UI and check its response to changes\.
3. Configure styles and check empty, loading, and error states\.

## Check your result

- The keyboard, focus indicators, and a screen reader let users complete the action\.
- The component works on a narrow screen and with long data values\.

## [License](<https://base.akulich.dev/en/library/valtio/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- zustand
- jotai
- immer
- tanstack\-query
- swr

## [Sources](<https://base.akulich.dev/en/library/valtio/#resource-sources>)

- [Official source](<https://github.com/pmndrs/valtio>)
- [Official source](<https://raw.githubusercontent.com/pmndrs/valtio/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/pmndrs/valtio/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
