🤩
Windframe Import update is finally here!

Checkbox

Bootstrap 5 Checkbox

Bootstrap 5 Checkbox is a component that allows a user to make multiple selections. This term is commonly used in forms and surveys.

They are used to pick one or more items from a list, whereas radios are used to select one option from several.

Default Checkbox

Bootstrap Checkbox Default

html
html
<div class="custom-check">
<input class="custom-check-input" type="checkbox" value="" id="defaultCheck1" />
<label class="custom-check-label" for="defaultCheck1">
Default checkbox
</label>
</div>
<div class="custom-check">
<input class="custom-check-input" type="checkbox" value="" id="defaultCheck2" disabled />
<label class="custom-check-label" for="defaultCheck2">
Disabled checkbox
</label>
</div>

Inline Checkbox

Pro Component

Bootstrap Checkbox Inline

html
html
<div class="custom-check form-check-inline">
<input class="custom-check-input" type="checkbox" value="" id="Checkbox1" />
<label class="custom-check-label" for="Checkbox1">
Checkbox 1
</label>
</div>
<div class="custom-check form-check-inline">
<input class="custom-check-input" type="checkbox" value="" id="Checkbox2" />
<label class="custom-check-label" for="Checkbox2">
Checkbox 2
</label>
</div>

Different Styling for Checkbox

Pro Component

Bootstrap Checkbox

html
html
<div class="custom-check">
<input
class="custom-check-input text-primary bg-warning"
type="checkbox"
value=""
id="Checkbox3"
/>
<label class="custom-check-label" for="Checkbox3">
checkbox 3
</label>
</div>
<div class="custom-check">
<input class="custom-check-input" type="checkbox" value="" id="Checkbox4" />
<label class="custom-check-label" for="Checkbox4">
checkbox 4
</label>
</div>
<div class="custom-check">
<input
class="custom-check-input border-primary text-primary"
type="checkbox"
value=""
id="Checkbox5"
/>
<label class="custom-check-label text-primary" for="Checkbox5">
checkbox 5
</label>
</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