GitPedia

State designer

State management with statecharts.

From steveruizok·Updated April 6, 2026·View on GitHub·

State Designer is a JavaScript and TypeScript library for managing the state of a user interface. It prioritizes the design experience, making it easy to experiment with ideas, iterate on solutions, and communicate the final result. The project is written primarily in HTML, distributed under the MIT License license, first published in 2019. Key topics include: react, statecharts, typescript.

State Designer

State Designer is a JavaScript and TypeScript library for managing the state of a user interface. It prioritizes the design experience, making it easy to experiment with ideas, iterate on solutions, and communicate the final result.

Features

  • Write state-charts in a simple declarative syntax.
  • Create both global and local component states.
  • Use selectors to subscribe to just the data you need.

Packages

Usage

Using State Designer involves three steps:

  1. Create a state with a configuration object.
  2. Subscribe to the state's updates.
  3. Send events to the state.

Your exact usage will depend on your framework:

Inspiration

State Designer is heavily inspired by xstate. Note that, unlike xstate, State Designer does not adhere to the scxml spec.

Author

License

MIT

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from steveruizok/state-designer via the GitHub API.Last fetched: 6/17/2026