@mocanvas/mocanvas · function

TldrawUiGrid

declare function TldrawUiGrid({ columns, gap, className, style, children }: TLUiGridProps): react.JSX.Element

A fixed-column grid: colour swatches, geo kinds, the shortcuts dialog.

Reports itself as role="grid"-less on purpose — it is a layout, and giving it a grid role would make a screen reader announce row and column numbers for what the user experiences as a list of buttons.

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.