npm version

JavaScript and TypeScript finite state machines and statecharts for the modern web.

📖 Read the documentation

💙 Explore our catalogue of examples

🖥 Download our VS Code extension

📑 Adheres to the SCXML specification

💬 Chat on the Stately Discord Community

Packages

Templates

Get started by forking one of these templates on CodeSandbox:

Visualize, simulate, inspect, and share your statecharts in XState Viz

XState Viz