State management with statecharts.
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.
@state-designer/core
- Core library.@state-designer/react
- React hook.Using State Designer involves three steps:
Your exact usage will depend on your framework:
State Designer is heavily inspired by xstate. Note that, unlike xstate, State Designer does not adhere to the scxml spec.