# tldraw SDK

React infinite\-canvas SDK with customizable tools, persistence and separately deployed collaboration\.

ID: Q931 · Revision: 979

Type: software · License: Source\-available tldraw license; production requires trial, commercial or discretionary hobby license[^tldraw-license] · Status: active

Website: https://tldraw.dev/



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\.[^tldraw-sdk]

## 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\.[^tldraw-sdk]

## 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\.[^tldraw-persistence]

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\.[^tldraw-sync]

## 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\.[^tldraw-license][^tldraw-key]

## Substitution considerations

The tldraw SDK can replace the embedded [Excalidraw](/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\.[^tldraw-sdk][^tldraw-license][^excalidraw-repo]

## Capabilities and substitutions

### Production deployment — limited

Requires a valid production license; the default license permits development only\.[^tldraw-license][^tldraw-key]

Use case: Embedding a canvas in a released product · Platforms: React web applications · Region: Account, platform, plan and sharing permissions apply

### Multiplayer infrastructure — limited

The sync package requires a server; the demonstration service is for prototyping\.[^tldraw-sync]

Use case: Building a collaborative canvas · Platforms: React web applications · Region: Account, platform, plan and sharing permissions apply

### [Substitute for Excalidraw](/excalidraw) — limited

Customizable canvas component alternative, with different APIs, scene formats and production licensing\.[^tldraw-license][^tldraw-sdk][^excalidraw-repo]

Use case: Embedding a React drawing canvas · Platforms: React web applications · Region: Account, platform, plan and sharing permissions apply

## References

[^tldraw-license]: [tldraw SDK license](<https://tldraw.dev/community/license>) — Sourceavailabledevelopmentonlydefault;productionrequiresvalidlicense,commercial/hobby/trial (vendor; retrieved 2026-10-06T22:27:39Z)

[^tldraw-sdk]: [tldraw SDK overview](<https://tldraw.dev/>) — React infinitecanvas SDK; customizabletools and separateapplicationinfrastructure (vendor; retrieved 2026-10-06T22:28:54Z)

[^tldraw-persistence]: [tldraw persistence](<https://tldraw.dev/sdk-features/persistence>) — BrowserIndexedDB vs ownstorage and productioncollaboration (vendor; retrieved 2026-10-06T22:28:54Z)

[^tldraw-sync]: [tldraw collaboration](<https://tldraw.dev/sdk-features/collaboration>) — Sync package needs server;demo notproduction (vendor; retrieved 2026-10-06T22:28:54Z)

[^tldraw-key]: [tldraw SDK license keys](<https://tldraw.dev/sdk-features/license-key>) — Productionrequirement,clientverification,discretionaryhobbywithwatermark (vendor; retrieved 2026-10-06T22:27:39Z)

[^excalidraw-repo]: [Excalidraw repository](<https://github.com/excalidraw/excalidraw>) — MITembeddableeditor distinctfromhostedapp (vendor; retrieved 2026-10-06T22:28:54Z)

Source revision: https://substitutefor.net/entities/Q931?revision=979
