🤩
Windframe Import update is finally here!

ButtonGroup

Bootstrap 5 ButtonGroup

A Bootstrap 5 button group is a vertical column that bundles a set of buttons into a single line or stack.

Applications of Bootstrap button group:

  • Group of pricing options
  • Buying a a group of licenses from our PRO CDB website

Basic Button Groups

html
<div class="btn-group" >
<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>

Basic Circular Groups

html
<div class="btn-group" >
<button type="button" class="btn btn-secondary btn-rounded">Left</button>
<button type="button" class="btn btn-secondary btn-rounded">Middle</button>
<button type="button" class="btn btn-secondary btn-rounded">Right</button>
</div>

Basic Button Groups in Different Groups

html
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-warning">
Left
</button>
<button type="button" class="btn btn-success">
Middle
</button>
<button type="button" class="btn btn-secondary">
Right
</button>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-info">
Left
</button>
<button type="button" class="btn btn-dark">
Middle
</button>
<button type="button" class="btn btn-danger">
Right
</button>
</div>

Vertical Button Groups

Make a group of buttons appear vertically stacked instead of horizontally stacked.

html
<div class="btn-group-vertical" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary">Click me</button>
<button type="button" class="btn btn-secondary">Click me</button>
<button type="button" class="btn btn-info">Click me</button>
<button type="button" class="btn btn-success">Click me</button>
<button type="button" class="btn btn-danger">Click me</button>
<button type="button" class="btn btn-warning">Click me</button>
</div>

Different Sizing for Button Groups

html
<div class="btn-group btn-group-lg" role="group" aria-label="Basic example">
<button type="button" class="btn btn-dark">button</button>
<button type="button" class="btn btn-dark">button</button>
<button type="button" class="btn btn-dark">button</button>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-warning">button</button>
<button type="button" class="btn btn-warning">button</button>
<button type="button" class="btn btn-warning">button</button>
</div>
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
<button type="button" class="btn btn-dark">button</button>
<button type="button" class="btn btn-dark">button</button>
<button type="button" class="btn btn-dark">button</button>
</div>

Trying to build out all user interfaces and components for your website or web app from scratch can become a very tedious task. A huge reason why we created Contrast Bootstrap to help reduce the amount of time we spend doing that, so we can focus on building some other aspects of the project. Contrast Bootstrap PRO consists of a UI Kit featuring over 10000+ component variants. Together with a template of 5 admin dashboards and 23+ additional multipurpose pages template for building almost any type of website or web app. You can view a demo and learn more about Contrast by clicking here.Download the free react template

ad-banner

Contrast Bootstrap PRO was built using the most popular CSS framework Bootstrap to help build your next landing, admin SAAS, prelaunch etc project with a clean, prebuilt and well documented template and UI components.Learn more about Contrast