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>
)
}
Is this page helpful?
Prev
Hide UINext
Changing default colors