chakra-ui/zag
Build your design system in React, Solid, Vue, Svelte or Vanilla. Powered by finite state machines observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1883
- days_rel: 13
- days_push: 7
- n_releases_24m: 11058
Adoption not part of the score
5196 stars · 275 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Zag.js is a framework-agnostic JavaScript toolkit that implements accessible, interactive UI component patterns (dialog, menu, tabs, etc.) using finite state machines. It ships headless, unstyled machine APIs with adapters for React, Vue, Solid, and Svelte so component logic can be written once and reused across frameworks.
Use cases
- build a design system with accessible components
- headless dialog and menu components for react
- framework-agnostic ui component logic
- accessible tabs accordion tooltip primitives
- wai-aria compliant component behavior
- share component logic between react and vue
- unstyled ui primitives for custom styling
When to choose
- you need accessible, WAI-ARIA compliant component behavior without styling opinions
- you maintain a design system targeting multiple JS frameworks
- you want deterministic, testable component logic via state machines
- you want incremental adoption of individual component machines
When to avoid
- you want pre-styled, ready-made components out of the box
- you prefer simple hooks or composables over state machine APIs
- your project is a small prototype where machine overhead isn't justified
- you need components for platforms beyond the web
Facets
library · maturity active
ui-components state-management accessibility frontend-framework web-development frontend accessibility developer-tools cross-platform headless-ui state-machines design-systems framework-agnostic wai-aria component-primitives typescript web-server nodejs
3 sources
- readme: https://github.com/chakra-ui/zag · fetched 2026-08-28 · fc445dcb6ee3
- homepage: http://zagjs.com · fetched 2026-08-29 · e4465f5a4448
- site_page: https://zagjs.com/overview/introduction · fetched 2026-08-29 · d6585c5f51cd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chakra-ui/zag | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem