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

components

Public propertysignature

Overrides for the UI components.

Signature
components?: TLUiComponents
References

TLUiComponents


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

TldrawUiTldrawUiButton