Skip to main content

React: configured

Granular scene settings merge over the defaults (a persisted scene wins over host config): a dotted grid with snapping, dark theme, and the rectangle tool pre-armed.

Loading the editor…
<Editor grid={{ enabled: true, style: "dots" }} snap theme="dark" initialTool="draw-rect" />

grid.style is "lines" | "dots"; theme is "light" | "dark" | "system"; initialTool accepts any Mode id.