Skip to main content
Version: Previous

Web Components - Toolbar

As defined by the W3C:

A toolbar is a container for grouping a set of controls, such as buttons, menubuttons, or checkboxes.

When a set of controls is visually presented as a group, the toolbar role can be used to communicate the presence and purpose of the grouping to screen reader users. Grouping controls into toolbars can also be an effective way of reducing the number of tab stops in the keyboard interface.


import { provideDesignSystem, alphaToolbar } from '@genesislcap/alpha-design-system';



Live Editor
    <alpha-option>Option 1</alpha-option>
    <alpha-option>Second option</alpha-option>
    <alpha-option>Option 3</alpha-option>
    <alpha-radio checked="">One</alpha-radio>

Use cases

  • Used anywhere someone may want to group related interactive controls visually and structurally.

Additional resources