@mocanvas/mocanvas · interface
interface TLUiComponentsThe UI half of the chrome override map.
TLComponents (in the editor package) covers everything, including the
canvas layers. This is the strictly-UI subset: the panels and menus that
only exist once there is chrome at all. An app hands one object; the two
maps are separated so the editor package can define its own slots without
depending on the UI package's.
Every slot is optional. undefined keeps the default, null removes it.
On this page
Properties · 31
A11y?: TLUiComponentSlotThe live region the canvas announces through.
ActionsMenu?: TLUiComponentSlot<TLUiActionsMenuProps>The selection actions menu.
ContextMenu?: TLUiComponentSlot<TLUiContextMenuProps>The right-click menu. Wraps the canvas, since it owns the trigger.
CursorChatBubble?: TLUiComponentSlotThe follow-me chat bubble on the local cursor.
DebugMenu?: TLUiComponentSlot<TLUiDebugMenuProps>The debug menu.
DebugPanel?: TLUiComponentSlotThe frame-statistics chip.
Dialogs?: TLUiComponentSlotThe dialog stack.
FollowingIndicator?: TLUiComponentSlotThe banner shown while following another user's camera.
HelperButtons?: TLUiComponentSlot<TLUiHelperButtonsProps>The small buttons above the toolbar.
HelpMenu?: TLUiComponentSlot<TLUiHelpMenuProps>The help menu.
ImageToolbar?: TLUiComponentSlot<TLUiImageToolbarProps>The contextual bar over a selected image.
KeyboardShortcutsDialog?: TLUiComponentSlot<TLUiKeyboardShortcutsDialogProps>The shortcuts dialog.
MainMenu?: TLUiComponentSlot<TLUiMainMenuProps>The top-left menu.
MenuPanel?: TLUiComponentSlotThe plate the main menu and page menu sit on.
Minimap?: TLUiComponentSlotThe minimap inside the navigation panel.
NavigationPanel?: TLUiComponentSlotThe zoom / minimap cluster.
PageMenu?: TLUiComponentSlotThe page picker.
PeopleMenu?: TLUiComponentSlot<DefaultPeopleMenuProps>The collaborator list.
PeopleMenuAvatar?: TLUiComponentSlot<TLUiPeopleMenuAvatarProps>One collaborator's avatar.
PeopleMenuFacePile?: TLUiComponentSlot<TLUiPeopleMenuFacePileProps>The stacked avatars on the people menu's trigger.
PeopleMenuItem?: TLUiComponentSlot<TLUiPeopleMenuItemProps>One row in the collaborator list.
QuickActions?: TLUiComponentSlot<TLUiQuickActionsProps>The undo/redo/duplicate row.
RichTextToolbar?: TLUiComponentSlot<TLUiRichTextToolbarProps>The formatting bar over a text shape being edited.
SharePanel?: TLUiComponentSlotThe top-right panel.
StylePanel?: TLUiComponentSlot<TLUiStylePanelProps>The style panel.
Toasts?: TLUiComponentSlotThe toast stack.
Toolbar?: TLUiComponentSlotThe tool bar.
TopPanel?: TLUiComponentSlotThe strip above the menu panel.
UserPresenceEditor?: TLUiComponentSlotThe local person's name and colour editor.
VideoToolbar?: TLUiComponentSlot<TLUiVideoToolbarProps>The contextual bar over a selected video.
ZoomMenu?: TLUiComponentSlot<TLUiZoomMenuProps>The zoom menu.
Mentioned here
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.