First, install the @tldraw/tldraw package using @alpha for the latest alpha release. It also has peer dependencies on signia and signia-react which you will need to install at the same time.

yarn add @tldraw/tldraw@alpha signia signia-react
# or
npm install @tldraw/tldraw@alpha signia signia-react

Next, find the assets folders (icons, embed-icons, fonts, and translations) in the tldraw-examples, under the project's public folder. Copy these folders and paste them in your project's public path.

Edit this page
Last edited on 22 March 2023