Note
The code in this repository is for the original version of tldraw, which is hosted at old.tldraw.com. The code for the new version (hosted at tldraw.com) can be found in the main tldraw repo.
🙋♂️ As of 2024, this version is no longer actively maintained.
This repository is a monorepo containing two packages:
- packages/tldraw contains the source for the @tldraw/tldraw package. This is an editor as a React component named
<Tldraw>
. You can use this package to embed the tldraw editor in any React application. - packages/core contains the source for the @tldraw/core package. This is a renderer for React components in a canvas-style UI. It is used by
@tldraw/tldraw
as well as several other projects.
...and one app:
- apps/www contains the source for the tldraw.com website.
...and three examples:
- examples/core-example is a simple example for
@tldraw/core
. - examples/core-example-advanced is a second example for
@tldraw/core
. - examples/tldraw-example is an example for
@tldraw/tldraw
.
Want to connect? Visit the Discord channel.
Interested in contributing? See the contributing guide.
Need help? Please open an issue for support.
This project is licensed under MIT.
If you're using the library in a commercial product, please consider becoming a sponsor.
The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.