talira

The infinite canvas SDK

source availabletldraw licenseself-hostablefree

tldraw is an infinite canvas SDK for React from tldraw, Inc., and tldraw.com is the free collaborative whiteboard built with it. The SDK (the npm package tldraw) gives a ready whiteboard kit of drawing, shape, text and arrow tools, custom shapes, tools and UI, a runtime API for driving the editor, and real-time multiplayer with live cursors through @tldraw/sync, a sync engine you host yourself on Cloudflare Durable Objects; MIT-licensed starter kits cover multiplayer, node-based workflows, AI chat, image pipelines and an AI agent that reads and edits the canvas. The SDK was Apache-2.0 until December 2023, when tldraw moved it to its own source-available tldraw license (tldraw 2.0); since SDK 4.0 (September 2025) it's free in development, while production needs a license key, either a 100-day free trial, a commercial license priced by use case or a free hobby license for non-commercial projects that shows a "made with tldraw" watermark. tldraw.com works without an account, or you log in to keep files in the cloud, share them by link with editors or viewers who needn't sign in, and publish snapshots; tldraw offline (July 2026) is a free desktop app for local .tldraw files that coding agents can script.

Ways to install

On your own server

Problems it solves

  • build a whiteboard into our web app without spending months writing canvas code
  • add real-time multiplayer drawing with live cursors and presence to our React product
  • an infinite canvas component for React that already handles zoom, pan, selection, copy and paste and undo
  • make a node-based workflow builder where users drag, connect and run steps on a canvas
  • let an AI agent read the drawings on a canvas in our app and change them
  • turn a text description into a diagram on a canvas inside our product
  • a free online whiteboard I can open instantly and share with a link
  • invite a client to sketch on a board with me without making them create an account
  • save my whiteboard files in the cloud and pick them up on any device
  • publish a read-only snapshot of a whiteboard and update it later without sending a new link
  • define our own shapes, tools and styles for a diagram editor in our product
  • host the real-time collaboration backend for our in-app canvas ourselves instead of paying a sync service
  • let users sketch on and annotate an image before sending it to an AI chat
  • build a branching conversation tree view for our AI product
  • a canvas library that makes no external requests in production

View all 20 problems

Features

  • infinite canvas engine for React and TypeScript, started with npm create tldraw
  • whiteboard kit: draw, shapes, text and arrow tools with camera controls
  • custom shapes, tools, styles, themes and UI
  • runtime API to drive the editor from code, with a signals library and record store
  • copy and paste, undo and redo, cross-tab sync, selection and geometry-based hit testing
  • alignment, distribution, drag and drop, dark mode and keyboard navigation
  • real-time multiplayer with live cursors, presence and cursor chat through @tldraw/sync, self-hosted
  • MIT-licensed starter kits: multiplayer, workflow, chat, agent, image pipeline, branching chat and shader
  • license keys validated locally and offline; one license covers all your domains
  • runs in any browser, including mobile browsers and WebViews in native apps
View 3 more
  • tldraw.com: free whiteboard usable without an account
  • tldraw.com accounts: files stored in the cloud and synced between devices, link sharing with editors or viewers, public or private files and published snapshots
  • tldraw offline: free desktop app with local .tldraw files that agents can read, edit and script

Limitations

  • Isn't open source: the SDK is source-available under the tldraw license, and production use needs a trial, commercial or hobby license key23
  • Can't hide the "made with tldraw" watermark on the free hobby license: only trial and commercial license keys remove it4

Ways to run it

tldraw SDK

You run it, tldraw license (source-available)

free in development; production: 100-day free trial, commercial license (value-based pricing, contact sales) or free hobby license for non-commercial projects245

Only in this edition

  • the full SDK in your own app, with multiplayer through self-hosted tldraw sync
  • MIT-licensed starter kits
  • support with a commercial license

You arrange

  • a license key for production use (trial, commercial or hobby)
  • hosting for your app and, for multiplayer, a tldraw sync server (the starter kit uses Cloudflare Durable Objects)
  • self-hosted static assets if you want no requests to tldraw's servers

Pricing

tldraw.com

Hosted by tldraw

free678

Only in this edition

  • a ready whiteboard with no setup or account needed
  • files stored in the cloud and synced between devices when logged in
  • link sharing with guest editors or viewers, and published snapshots

Not included

  • customising the editor or embedding it in your own app

Pricing

Alternatives

The same job

These do what tldraw does.

  1. Miro The visual workspace for innovation
  2. Microsoft Whiteboard A free-form digital canvas where people, content and ideas come together
  3. Figma The collaborative canvas for design, code, and AI
  4. Excalidraw Virtual whiteboard for sketching hand-drawn like diagrams
  5. AFFiNE Write, Draw and Plan All at Once
  6. Mural Visual collaboration workspace for teams

Compare tldraw with the top 3