Related buttons bundled together in a row with consistent spacing and shared alignment.
Wrap related Buttons and give the group a
label for its accessible name.
selectable plus a value turns the group
into a single-select segmented control — the child matching value renders as
primary and the group fires a change event.
Set orientation="vertical" to stack the buttons into a column.
Tighten or loosen the spacing between buttons with
gap — xs,
s, m (default), or
l.
form action rows, toolbars, and segmented
filters — any time a set of buttons act on the same context. Add
selectable to make it a radio-like single-select.
selectable when the buttons are mutually exclusive options.label for assistive tech.role="group", or
role="radiogroup" when selectable — with the children exposed as radios.label becomes the group’s aria-label; always set it.aria-orientation follows the orientation prop so screen readers announce the layout.aria-checked="true"; the rest are false.