@mocanvas/editor · function

DefaultBackground

declare function DefaultBackground(): react.JSX.Element

The plate behind the page: a flat fill in the theme's canvas colour.

Painted as a DOM layer rather than into the GL surface so a host can restyle it — an image, a gradient, a printed grain — with CSS alone.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.