Props
highlightColorBase color for selection/hover overlays (defaults to
oklch(0.62 0.18 255))colorPickerFormatsFormats shown by the color picker
colorPickerClickFormatFormat copied when a color value is clicked
guideColorBase color for guides (defaults to
oklch(0.63 0.26 29.23))arrowColorBase color for arrows
guideHighlightEnabledHighlights guides when hovered or selected
hoverHighlightEnabledEnables hover highlighting in Inspect mode
layoutDetailsEnabledShows gap and padding details under selected dimensions
persistOnReloadPersists workspace state across reloads; on by default
shortcutsEnabledEnables global keyboard shortcuts
persistKeyOptional key for isolating persisted workspaces
portalTargetElement or shadow root where the overlay is mounted
persistenceCustom storage adapter for settings and workspace state
onPersistenceErrorCalled when persistence is unavailable or a write fails
captureVisibleTabProvides a visible-tab PNG for Screenshot capture
featuresEnable or disable Screenshot, Rulers, Settings, and Responsive
initialStateSet initial workspace data and toolbar state; saved state wins
snapEnabledSnap selection to nearby elements
snapGuidesEnabledSnap guides to other guides
snapArrowsEnabledSnap arrow endpoints to nearby elements
arrowClickToPlacePlace arrows with clicks instead of dragging
selectNewGuideEnabledHighlight a guide when it is placed
multiMeasureEnabledKeep previous measurements visible
guideStyleGuide opacity, width, and pattern
rulerSettingsRuler opacity and edge reveal
textStyleFont, color, and background new text notes start with