Inset canvas
If for some reason you need to move the canvas around, that should still work.
import { Tldraw } from 'tldraw'
import 'tldraw/tldraw.css'
import './inset-canvas.css'
export default function InsetCanvasExample() {
return (
<div className="tldraw__editor tldraw__editor-with-inset-canvas">
<Tldraw />
</div>
)
}
Prev
Hide UINext
Add a tool to the Toolbar