TheDocumentation Index
Fetch the complete documentation index at: https://docs.tsdraw.com/llms.txt
Use this file to discover all available pages before exploring further.
Tsdraw component renders a complete drawing canvas with toolbar, style panel, and all built-in tools.
Basic usage
With persistence
With custom tools and UI
Aliases
TsdrawCanvas is an alias for Tsdraw. Both export the same component:
Styling
The component fills its container by default. Setwidth and height props or use CSS on the parent element to control the size:
className and style props are forwarded to the root element: