Sketch
SketchDocs
by FileKit Studio
Whiteboard SDK

UI Flags

Complete reference for the 54 granular SketchUIConfig boolean flags.

SketchUIConfig Flags

<SketchEditor /> provides 54 granular boolean visibility flags allowing you to hide or show any UI button, menu, dialog, or panel.


Configuration Example

Pass a partial uiConfig object to <SketchEditor />:

TypeScript (TSX)
<SketchEditor
  uiConfig={{
    // Hide creation toolbars (read-only presentation)
    showToolBar: false,
    showPropertiesPanel: false,

    // Keep top bar and zoom controls
    showTopBar: true,
    showZoomControls: true,

    // Enable only PNG and PDF exports
    showExportMenu: true,
    showExportPng: true,
    showExportPdf: true,
    showExportSvg: false,
    showExportJson: false,
  }}
/>

Top Bar Controls

FlagDefaultDescription
showTopBartrueTop navigation container
showExitButtontrueExit / back arrow button (renders only when onExit or exitHref is supplied)
showThemeTogglefalseCanvas theme toggle button (light / dark mode) in top bar
showBoardNametrueTop bar title indicator
showHistoryControlstrueUndo & Redo buttons
showZoomControlstrueZoom percentage & +/- buttons
showHandTooltrueHand / Pan tool toggle
showGridSelectorfalseGrid pattern dropdown in top bar
showFramesOutlinetrueToggle frame container outlines (auto-hidden when no frames exist)
showPresentationtrueFullscreen presentation mode button (auto-hidden when no frames exist)
showExportMenutrueExport trigger button

Creation Toolbar & Overlays

FlagDefaultDescription
showToolBartrueFloating shape creation toolbar
showTechStencilstrueAWS, Docker, K8s, React stencil modal
showTemplatestrueStarter diagram template picker
showPropertiesPaneltrueLeft styling sidebar (colors, strokes, fonts)
showMinimaptrueRadar overview minimap
showShortcutsButtontrueKeyboard shortcuts cheat-sheet modal
showGuideButtontrueHelp guide pill linking to documentation (configured via guideHref or onOpenGuide)
showContextMenutrueRight-click canvas context menu

Customizing or Hiding the Guide Button

The bottom-left Guide button can be routed to your own documentation, handled with a custom in-app modal, or opted out completely:

TypeScript (TSX)
// 1. Point to your internal documentation
<SketchEditor guideHref="/docs/getting-started" />

// 2. Or trigger a custom in-app help modal / drawer
<SketchEditor onOpenGuide={() => setHelpModalOpen(true)} />

// 3. Or completely hide the guide button
<SketchEditor uiConfig={{ showGuideButton: false }} />

On this page