Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Anatomy
  • Examples
  • Vertical tools
  • A calmer workspace
  • Disabled and loading actions
  • Toggle groups and tooltips
  • Vertical groups
  • With input
  • Recommendations
  • Usage boundaries
  • API reference

Actions

Toolbar

Groups actions and controls with one Tab stop and arrow-key navigation.

idle

Usage

import {
	Toolbar,
	ToolbarButton,
	ToolbarGroup,
	ToolbarSeparator,
} from "@mizen-labs/ui";

Anatomy

The parts and how they nest, taken from the preview above.

<Toolbar>
	<ToolbarGroup>
		<ToolbarButton />
	</ToolbarGroup>
	<ToolbarSeparator />
	<ToolbarGroup>
		<ToolbarButton />
	</ToolbarGroup>
</Toolbar>

Examples

Vertical tools

Keep drawing tools next to their canvas. Arrow Up and Arrow Down move between tools.

A calmer workspace

Disabled and loading actions

Keep unavailable actions discoverable and prevent repeated clicks while saving.

Toggle groups and tooltips

Compose named formatting controls, action buttons, and links in one keyboard sequence.

Vertical groups

Groups inherit the toolbar direction. Separators rotate with the layout.

With input

Edit text inside the toolbar without arrow navigation interrupting the caret.

Recommendations

GuidancePractice
Do

Group commands by purpose and label icon-only controls. Keep keyboard order aligned with visual order.

Do

Name the toolbar and use its arrow-key navigation to move between controls.

Usage boundaries

GuidanceBoundary
Scope

Use Button Group when independent Tab stops are preferable. The toolbar does not execute application commands.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Controls layout and the arrow keys used for navigation.
loopFocusbooleantrueWraps focus at either end of the toolbar.
disabledbooleanfalseDisables toolbar buttons and input editing. Links retain their native navigation behavior.
ToolbarButtonButton design props + Base UI toolbar compositionvariant="ghost"Reuses Button appearance by default. A supplied render element owns appearance and participates in toolbar focus.
ToolbarButton.focusableWhenDisabledbooleantrueKeeps disabled actions discoverable through arrow navigation, following Base UI. Set false to skip a disabled item.
ToolbarGroup / ToolbarSeparator / ToolbarLinkComposed parts—Group related actions, separate groups, and include keyboard-accessible links.
ToolbarInputToolbarInputProps—Uses Mizen Input appearance and Base UI editing-aware toolbar navigation. Native input props and refs remain supported.
PreviousToggle groupNextCalendar

Drawing tools

Place a vertical toolbar beside the canvas it controls.

Untitled canvas

Select an object to move or resize it.

Release notes

Draft

Workspace / Documents

Formatting guide

PRODUCT UPDATE · OCTOBER 2026

A calmer workspace

Keep your projects, conversations, and decisions together. The new workspace gives everyday work a little more room.

Select Bold or Italic to format this paragraph.

Local draft · not saved

Guide
Formatting guide