<!-- Default button group -->
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary">Left</button>
<button type="button" class="btn btn-primary">Middle</button>
<button type="button" class="btn btn-primary">Right</button>
</div>
<!-- Outlined button group -->
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary-outlined">Left</button>
<button type="button" class="btn btn-primary-outlined">Middle</button>
<button type="button" class="btn btn-primary-outlined">Right</button>
</div>
<!-- Rounded button group -->
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-success btn-rounded">Left</button>
<button type="button" class="btn btn-success btn-rounded">Middle</button>
<button type="button" class="btn btn-success btn-rounded">Right</button>
</div>
How to use
- Wrap a series of buttons with .btn into a .btn-group parent wrapper.