The tldraw SDK can replace the embedded Excalidraw editor when a React product needs a customizable drawing canvas. It does not provide an automatic scene-format conversion or identical APIs. The licensing difference is substantial: Excalidraw's editor is MIT-licensed, while tldraw production use has the separate requirements above. This comparison concerns developer components, not the hosted services' complete feature sets.[1][2][6]
Overview
The tldraw SDK is a React toolkit for building whiteboards, diagram editors and other infinite-canvas applications. It supplies drawing tools, shapes and interface components that developers can customize. The SDK is distinct from the ready-to-use tldraw website and desktop application, so application hosting, persistence and production licensing need to be evaluated separately.[2]
Embedding and customization
Developers can use the default drawing interface or extend it with their own shapes, interactions and application controls. The runtime API exposes canvas content and behavior. This makes the SDK a candidate for adding a visual workspace to a product, rather than only embedding a fixed image or a link to another company's whiteboard.[2]
Persistence and collaboration infrastructure
The persistence interface can automatically store a document and assets in browser IndexedDB, with tabs using the same key kept in sync. Custom storage can instead use snapshots, separating shared document data from an individual's camera, selection and other session state. Local browser persistence is not automatically a durable cross-device cloud account.[3]
Real-time collaboration uses the sync package and requires a server component. The documentation distinguishes its demonstration server from a production deployment that the developer operates. A working multiplayer prototype therefore does not establish a complete production service with the application's own storage, access control and operational arrangements.[4]
Production licensing
The default source-available license permits development, but production use requires a valid trial, commercial or hobby license. Hobby licenses are discretionary, limited to noncommercial projects and retain a watermark. License keys are verified locally, so their enforcement is not simply an online license-server call. Availability of the source should not be described as a permissive open-source grant.[1][5]
Capabilities & limitations
Production deployment
limited
Requires a valid production license; the default license permits development only.[1][5]
Embedding a canvas in a released product · React web applications · Account, platform, plan and sharing permissions apply
/* wbeditentity-create-item:0| */ sf:e982ae86-0e3c-4c36-86c4-4ba8c25e144f:v1 | Add the tldraw SDK as a developer component, distinguishing source availability from production licensing and hosted apps. | attribution: /proposals/e982ae86-0e3c-4c36-86c4-4ba8c25e144f