Button Group

Attaches related buttons into one segmented cluster, and hosts the split button.

Stablev0.3.0@garn/ui/button-group

Default

A horizontal segmented cluster.

Spacing

The same control rendered across garn's density modes — compact, default, and spacious.

Compact
Default
Spacious

Orientation

Direction the segments attach; collapses the adjacent inner radii and overlaps the 1px seams. Inline-axis utilities are logical, so an RTL group merges from the correct end.

horizontal
vertical

Split Button

Split Button

The canonical split button: primary action, derived seam, and a contextually-named menu half.

Split Button Appearances

The seam across fills and tones — derived from the fill on solids, the input-border family on the airy ones.

Group Text

A ButtonGroupText segment carrying a count between two buttons.

Page 3 of 12