A button group is a type of form input that presents selectable options as buttons. Use as an alternative to radio or select components with no more than four options.
Button group classes are designed to be used with a <div>wrapped <button> element, but can also modify <Intro> wrapped<a> or <input> elements.
<div class="c-button-group" role="group" aria-label="Button Group Example">
<button type="button" class="c-button-group__button--active">
Button 1
</button>
<button type="button" class="c-button-group__button">
Button 2
</button>
<button type="button" class="c-button-group__button">
Button 3
</button>
</div>