DocMosaicdocs
Examples

Examples

16 copy-pasteable patterns for building real things on top of DocMosaic - from a 30-line minimal editor to frames, controlled-state persistence, custom backends, theming, and embedding.

DocMosaic ships as a kit, not a fixed app. These examples sell the capabilities of that kit - what you can build, not which primitives exist. Each page is one focused scenario with a complete, copy-pasteable snippet.

Pick the closest fit, copy the code, adapt to your shell.

Starter

Composition

Customization

Integration

What these examples are not

They're not a tutorial. If you haven't seen the editor yet, start with Quick start first - then come here to copy the shape closest to what you're building.