Primitive

Toolbar Control

Atomic toolbar control with quiet icon controls, optional chip appearance, tooltip shortcuts, roving arrow-key focus, selected state, and pressed feedback.

Use ToolbarControl for clustered editing, filtering, and inspection commands. Use icon or subtle appearance for tools, and reserve chip appearance for true labeled toggle choices.
control
Toolbar ControlDefault

Playground

Controls update query params directly, so every primitive state can be linked, rendered, and screenshotted deterministically.

Loading playground

Rendered matrix

Every state maps to the same primitive render route through the state query param.

Default

Grouped controls with tooltip and shortcut affordances.

Selected

Selected and keyboard-pressed states for mode controls.

Compact

Dense rail suitable for editors, inspectors, and composers.

Disabled

Disabled toolbar action inside an otherwise active group.

Public contract

The public prop table is generated from item metadata and schema-backed controls.
NameTypeDefaultDescription
labelstringToolbarAccessible toolbar label.
compactbooleanfalseTightens the rail for dense product surfaces.
ToolbarControlButton.appearance'icon' | 'subtle' | 'chip'iconVisual role for the control.
ToolbarControlButton.iconIconName-Optional tool glyph.
ToolbarControlButton.shortcutreadonly string[]-Tooltip or inline shortcut hints.
ToolbarControlButton.tooltipPlacement'top' | 'right' | 'bottom' | 'left'topTooltip placement for cramped surfaces.
ToolbarControlButton.selectedbooleanfalsePersistent selected mode state.
ToolbarControlButton.defaultSelectedbooleanfalseInitial selected state for uncontrolled toggle chips.
ToolbarControlButton.toggleablebooleanfalseAllows click to update uncontrolled selected state.
ToolbarControlButton.onSelectedChange(selected: boolean) => void-Back-propagates local toggle state for controlled toolbars.
ToolbarControlButton.pressedbooleanfalseTransient keyboard activation state.
ToolbarControlButton.showLabelboolean-Shows the label beside the icon. Defaults to true only for chip appearance or text-only controls.
ToolbarFormatGlyph.format'bold' | 'italic' | 'underline' | 'strikethrough'-Text-format glyph treatment.
childrenReactNode-Toolbar groups, buttons, and separators.