Skip to content

Examples

Run commands from the repository root unless a recipe says otherwise.

Install workspace dependencies first with pnpm install; each standalone example has its own manifest and instructions.

The repository examples exercise local source.

For installed applications use public ignite-element entrypoints and beta packages.

PurposeCanonical implementation
First XState + JSX componentGetting started
React shared core and separate web interopReact
XState sources and native eventsXState
Redux store or isolated sliceRedux
MobX observablesMobX
Vue custom elementsVue
Svelte custom elementsSvelte
Shared dashboardDashboard
Form behaviorForm
Navigation API routingSPA router
Nested route ownershipNested router
Advanced ports and session lifetimeShared source recipe
Advanced tool-driven behaviorSmart home
Advanced voice and story orchestrationVoice workbench
Terminal
pnpm --dir examples/frameworks/react install \
--ignore-workspace --no-link-workspace-packages
pnpm --dir examples/frameworks/react dev

The first screen uses useIgnite(core) and source-derived state.

Expand the custom-element section to inspect the separate igniteReact(handle) recipe.

Routing, shared sources, and agent/tool integration cover optional needs.