Button group
Examples
Base #
To render a button group, wrap a series of buttons in a div and apply the class chi-button-group
.
Vertical #
To render a series of buttons vertically, apply the class modifier -vertical
.
Fluid buttons
Button groups can be expanded to fill the parent space by applying the class -fluid
.
Horizontal #
Vertical #
Sizes
Button groups support the following sizes: -xs
, -sm
, -md
, -lg
, -xl
. The default size is -md
.
Horizontal #
Vertical #
Hybrid buttons #
Button groups support all button types and styles, including icons. Mix and match text and icons to form a hybrid button group.
Hybrid buttons sizes #
Hybrid buttons support the following sizes: xs
, sm
, md
, lg
, xl
. The default size is md
.