Skip to main content
Core 1.0.0-rc.1

Core Examples

Representative examples are useful when you want to see the runtime as a product shape, not as a list of features.

ExampleWhat it demonstratesGood fit
Typed checkout wizardstable step ids, optional skip rules, typed payloads, completiononboarding, checkout, setup flows
Verification graphbranching, retry loops, timeout-aware guards, alternate completion pathsKYC, approvals, support tooling
Confirm-close flowwildcard or cross-cutting close handling with explicit exit confirmationlong forms, draft-heavy flows
Observable runtimesubscribe, subscribeSelector, and subscribeEvent working togetheranalytics, debugging, custom renderers
Persistence-enabled machineresume-later behavior using the persistence pluginmulti-session flows
Structural path analysisexecution-path inspection without running guards or committing runtime stateflow audits, product review, tests

What To Look For In The Examples

  • How many of the movement rules live in transitions instead of UI handlers
  • Whether step ids stay stable as the flow grows
  • Whether the snapshot alone can explain current runtime truth
  • Whether the event stream is enough to understand how the machine changed

See package examples under packages/core/examples for runnable snippets, and pair them with Recipes when you need smaller focused patterns.