Skip to main content
Most devs only really need @tsdraw/react, which includes the react component:
Remember to import the stylesheet in your app:

Requirements

  • React 18.0+ or 19.0+
  • A bundler supporting CSS imports (Vite, Next.js, Webpack, etc.)

Core engine (Headless)

If you’re using another framework, install the core engine directly:
@tsdraw/core is framework-agnostic and provides the Editor, shape system, tools, and rendering (but you have to do the rest yourself).

Package overview

Verifying the installation

After installing, create a short component to make sure everything works:
For @tsdraw/core, since this is more complex, you probably should look through the source code or reference for more information.