tldraw

tldraw: Build Infinite Canvas Apps in React

tldraw is a TypeScript SDK for building interactive infinite-canvas applications in React. It provides drawing and diagramming tools, extensible canvas primitives, and optional real-time collaboration for teams building custom visual products.

TypeScriptOther licenseReactLibraryCollaboration
View on GitHub Compare
Stars
50.7k
Forks
3.5k
Stars, last 30 days
+607

Our take

Health score

80/100

How it is scored
Activity
85
Community
83
Issues
72
Pull requests
79

+607 stars in the last 30 days

  • Releases more often than 87% of the projects we track
  • Merges more pull requests than 86% of the projects we track
  • More contributors than 78% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

51,454

Forks

3,620

Change since Nov 10, 2026: +14 stars·0 forks

Overview

tldraw is a React SDK for building infinite-canvas applications, from whiteboards and diagramming tools to custom visual interfaces. It combines a ready-to-use canvas and editor API with primitives for creating custom shapes, tools, bindings, and UI, so developers can adapt the experience instead of building canvas infrastructure from scratch.

It is a good fit when a product needs interactive visual workspaces, particularly when users need to draw, arrange content, or collaborate. The SDK also supports AI-driven canvas interactions and browser-rendered embeds. Production use requires a license key, so check the licensing details before choosing it for a commercial product.

Key Features

  • React canvas component with an Editor API for controlling the canvas at runtime.
  • Drawing and diagramming primitives, including pressure-sensitive drawing, shapes, rich text, arrows, snapping, images, and video.
  • Extension points for custom shapes, tools, bindings, UI components, side effects, and event hooks.
  • Optional real-time multiplayer collaboration through @tldraw/sync.
  • Browser-based rendering that can support embedded websites and other browser content.
  • Canvas primitives for applications that use LLMs to interpret or modify canvas content.
  • Support for desktop, touch screens, tablets, and mobile browsers.

Use Cases

  • Product teams building a collaborative whiteboard can start with the supplied drawing tools and add multiplayer with @tldraw/sync.
  • Developers creating workflow or visual programming products can build custom node shapes, interactions, and bindings on the canvas.
  • Teams building design or diagramming software can combine rich text, arrows, snapping, and custom tools in a tailored editor.
  • Developers adding visual interfaces to AI products can use the canvas primitives to let agents read and modify visual content.

Getting Started

Install the package:

npm i tldraw

Then add the Tldraw component and import tldraw/tldraw.css in your React app. See the README and quick-start guide for setup details.

Considerations

  • Production use requires a tldraw license key; development use is available without one. Review the pricing and license information before adopting it.
  • The SDK is a substantial toolkit for developers building a canvas product, rather than just a standalone whiteboard application.
  • Local development requires Node.js ^20.0.0 and pnpm, according to the README.
  • The project says it is not accepting contributions at this time. Bug reports and feature requests can be submitted through GitHub issues.

Found this useful?

Share it with someone who would like tldraw.

Comparisons