The .btn-group class creates a button group.
Add class .btn-group-* to size all buttons in a button group.
Use the .btn-group-vertical class to create a vertical button group.
Button groups are "inline" by default, which makes them appear side by side when you have multiple groups.
Nest button groups to create dropdown menus:
Basic mixed styles example
Basic outlined example
Combine button-like checkbox and radio toggle buttons into a seamless looking button group.
Combine sets of button groups into button toolbars for more complex components.