Table of contents

Public interface

Base props for the Tldraw and TldrawUi components.

Signature
interface TldrawUiBaseProps {}
Source

packages/tldraw/src/lib/ui/TldrawUi.tsx


Properties

assetUrls

Public propertysignature

Asset URL override.

Signature
assetUrls?: TLUiAssetUrlOverrides
References

TLUiAssetUrlOverrides


children

Public propertysignature

The component's children.

Signature
children?: ReactNode

hideUi

Public propertysignature

Whether to hide the user interface and only display the canvas.

Signature
hideUi?: boolean

renderDebugMenuItems

Public propertysignature

Additional items to add to the debug menu (will be deprecated)

Signature
renderDebugMenuItems?: () => React.ReactNode

shareZone

Public propertysignature

A component to use for the share zone (will be deprecated)

Signature
shareZone?: ReactNode

TldrawUiTldrawUiContextProvider