Discover and explore top open-source AI tools and projects—updated daily.
tldrawInfinite canvas SDK for building interactive web applications
Top 0.6% on SourcePulse
Summary
tldraw is a feature-complete infinite canvas SDK for React, designed to serve as the foundation for custom canvas applications. It empowers developers to build sophisticated interactive experiences, from whiteboards and diagramming tools to no-code platforms, by offering a highly extensible engine and a rich set of primitives. The SDK aims to accelerate development for those needing a robust, flexible, and collaborative canvas solution.
How It Works
The core of tldraw is a feature-complete infinite canvas engine built with extensibility in mind. It allows developers to leverage default whiteboarding tools or construct entirely new shapes, tools, bindings, and UI components using its primitives. The engine supports pressure-sensitive drawing, geometric shapes, rich text, snapping, edge scrolling, and image/video embedding. Rendering is handled via DOM canvas, supporting embedded web content, and a runtime API enables programmatic control of the canvas.
Quick Start & Requirements
npm i tldraw<Tldraw /> component into a React application.npx create-tldraw@latest for pre-built application templates.yarn, and start the dev server with yarn dev.Highlighted Details
@tldraw/sync and Cloudflare Durable Objects.Maintenance & Community
Licensing & Compatibility
The tldraw SDK is provided under the "tldraw license". It is free for development use, but production use requires a license key. Trademarks are held by tldraw Inc.
Limitations & Caveats
Production deployment is contingent on obtaining a license key, which may impose commercial restrictions or costs. The specific terms of the "tldraw license" for production use should be carefully reviewed.
17 hours ago
Inactive