Documentation · mocanvas 4.11.2

Documentation

Four doors. The guides are written inside the library and shipped in the package, so what you read here is what the version you installed came with — there is one edited copy of each and it is not in this website.

Get started

Install it, put a canvas on the page, drive it from code — and do the same thing with no browser at all. Fifteen minutes, four snippets.

Start here

Open

Examples

Copyable answers to what people do first: scripting the editor, building a document headlessly, a custom shape, export, and two tabs sharing one board.

6 snippets

Open

Guides

The long-form documents that ship inside the package: what is covered against tldraw, how to migrate, custom shapes, the default UI, the engine, and the benchmark method.

11 guides

Open

API reference

Every symbol the packages export, grouped by kind and read straight from the shipped declarations — so it cannot fall behind a release.

2,655 exports

Open

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.