tldraw SDK React infinite-canvas SDK with customizable tools, persistence and separately deployed collaboration.
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]
Contents 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]
Substitution considerations 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]
References tldraw SDK license Sourceavailabledevelopmentonlydefault;productionrequiresvalidlicense,commercial/hobby/trial
vendor · retrieved 2026-10-06 tldraw SDK overview React infinitecanvas SDK; customizabletools and separateapplicationinfrastructure
vendor · retrieved 2026-10-06 tldraw persistence BrowserIndexedDB vs ownstorage and productioncollaboration
vendor · retrieved 2026-10-06 tldraw collaboration Sync package needs server;demo notproduction
vendor · retrieved 2026-10-06 tldraw SDK license keys Productionrequirement,clientverification,discretionaryhobbywithwatermark
vendor · retrieved 2026-10-06 Excalidraw repository MITembeddableeditor distinctfromhostedapp
vendor · retrieved 2026-10-06 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.