Skip to content
Hazine

Button groups and toolbars

0 of 6 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 6

  • Responsive Action Footer

    Encodes action hierarchy as layout: the tertiary action is pushed to the opposite edge in the row and drops under a separator in the stack, the primary stays last so it lands nearest the thumb, and DOM order equals visual order in both layouts so focus order never jumps (no reversed flex direction).

  • Mixed Control Button Group

    Heterogeneous children (button, select trigger, menu button, static text segment) are normalised to one height and one shared border through slot styling, with focus rings raised above neighbours by z-index so they are never clipped.

  • Formatting Toolbar

    A single tab stop with roving tabindex across every control, Left and Right arrows plus Home and End for movement, aria-pressed toggles next to a radiogroup cluster, and visible separators exposed as role=separator.

  • Overflow Toolbar

    Uses a ResizeObserver to split one item list into visible buttons and menu items at runtime; overflowed actions keep their icon and label inside the menu, and roving focus is repaired when the focused item moves into the overflow.

  • Floating Selection Toolbar

    Positioned from the selection range rectangle instead of a trigger element, shown on selectionchange and mouseup, reachable from the keyboard with Alt F10 without collapsing the selection, and dismissed with Escape.

  • Vertical Tool Rail

    Vertical orientation with Up and Down arrow navigation, tools behave as a single-select set with aria-checked, and a corner mark on a tool opens a side flyout that replaces the tool icon with the chosen variant.