artifactExperience & interface

Toolbar

A toolbar groups frequently used controls for the current view or object into a compact, consistently placed command surface.

Download Markdown (.md)

01What it means

A toolbar is a labeled group of controls such as buttons, menu buttons, toggles, and inputs that act on or navigate within the current view. Toolbars can reduce keyboard tab stops by managing focus within the group. They differ from tab bars, whose primary purpose is switching top-level application sections.[1][2]

02Why it matters

A deliberate toolbar keeps common commands discoverable and close to their target while giving related controls a shared structure. Overcrowded or inconsistently ordered toolbars increase search time and hide the relative importance of actions.

03When to use it

Use a toolbar when a view has several related, frequently used controls that benefit from stable grouping. Leave isolated actions ungrouped, move infrequent commands to a labeled menu, and avoid a toolbar when its density exceeds the value of immediate access.

04How it works

  1. Identify commands that share a target and are used often enough to remain visible.
  2. Order and group controls by task sequence, frequency, and consequence.
  3. Use clear text or familiar icons with accessible names and visible states.
  4. Define overflow behavior and, for an application-style toolbar, arrow-key focus movement.
  5. Test resizing, customization, disabled states, keyboard operation, zoom, and long labels.

05A practical example

Example

A document editor groups Undo, Redo, text style, alignment, and an overflow menu in a formatting toolbar. Tab enters the toolbar once, arrow keys move among controls, and less-used paragraph commands remain available from the overflow menu at narrow widths.

06Where it breaks

Toolbars consume persistent space and icon-heavy versions depend on learned conventions. Focus management becomes complex when the group mixes controls with conflicting arrow-key behavior, and responsive overflow can reduce discoverability.

Common mistakes

  • Putting every available command in the toolbar.
  • Using ambiguous icons without labels, tooltips, or accessible names.
  • Changing control order or availability unpredictably between similar views.
  • Applying toolbar semantics without implementing its expected focus model.

07Sources

  1. Toolbar PatternW3C Web Accessibility Initiative · Technical guidanceToolbar Pattern
  2. ToolbarsApple · Institutional guidelineToolbars
View saved topics

Start typing to search titles, definitions, categories, and frameworks.