Component
Button groups
A button group gathers related buttons into a single unit. Press one of the icon buttons below and watch it widen while its neighbours make room — the group itself never changes size.
- 2 variants
- 5 sizes · 32 to 136 px
- Single or multiple selection
Standard
Buttons of equal weight, spaced apart, each doing its own thing.
Label buttons squeeze the same way
Selection — every button toggles on its own, squaring off and filling its icon when selected
Connected
Buttons pushed together into one control, separated by 2 px.
Single selection — a <label> around a radio button, no JavaScript
Multiple selection — the same markup with checkboxes
Toggle buttons — when there is no form to submit to
A disabled button keeps its place. Button group in a flex-container