zag.js
This product offers a collection of UI component patterns powered by finite state machines, enabling developers to build design systems that are both flexible and accessible. It supports various front-end frameworks including React, Vue, Solid.js, and Svelte, providing a framework-agnostic approach to building UI components.The core of this library revolves around state machines that handle complex component logic, allowing developers to focus on UI design while ensuring robust functionality.The components are designed with accessibility in mind, utilizing built-in WAI-ARIA compliant adapters that connect machine outputs to DOM semantics.Additionally, its headless and unstyled nature means you can utilize your preferred styling solutions, giving you the freedom to integrate seamlessly into your existing design systems. This library promotes simplicity and reusability, reducing the need for repetitive implementations of common UI patterns across different projects.
Features
- Framework agnostic
- Resilient component logic
- WAI-ARIA compliance
- Headless and unstyled components
- Supports multiple JS frameworks
- Easy integration with design systems
- Components built using finite state machines
Links
Stats
GitHub Stars4.2K
NPM Downloads234.5K/week
Details
Latest Version0.81.2
Created at7/7/2021
Updated at1/14/2025
LicenseMIT License
Related Items
Jotai
A powerful yet lightweight state management solution that adopts an atomic approach for managing state in React applications.
Legend State
This powerful library streamlines state management in your applications, making complex data handling a breeze.
MobX-State-Tree
A full-featured library that simplifies state management by providing a structured approach to mutable state handling.
MobX
This state management solution enables seamless integration of dynamic data in your applications, adapting to changes effortlessly.
Redux Toolkit
A comprehensive toolkit designed to streamline and enhance the Redux development process, ensuring that applications are predictable and maintainable.
valtio
This library simplifies proxy-based state management for modern applications, enhancing the development experience with efficient rendering and easy state manipulation.