๐Ÿ’ 
zag.js logo

zag.js

state

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

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

Get a monthly E-Mail with the newest developments in UI!