Bootstrap 5 checkboxes and radio buttons are form controls for binary and single-choice selections. This page covers 4 patterns — basic checkboxes, inline, radio groups and toggle switches — each ready to use.
Quick Setup
Checkboxes need only Bootstrap 5 CSS:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"/>
Key Classes Reference
| Class | What It Does |
|---|---|
.form-check | Wrapper for checkbox or radio |
.form-check-input | Styles the checkbox or radio input |
.form-check-label | Styles the label |
.form-check-inline | Makes checkboxes display inline |
.form-switch | Toggle switch style |
checked | Pre-checks the input |
disabled | Disables the input |
role="switch" | Accessibility for toggle switches |
1. Bootstrap 5 Basic Checkboxes
Standard checkboxes with labels using form-check. Checked, unchecked and disabled states.
2. Bootstrap 5 Inline Checkboxes and Radios
Horizontal inline checkboxes and radio buttons using form-check-inline.
3. Bootstrap 5 Radio Button Groups
Radio buttons for single selection with descriptions. Only one option can be selected at a time.
4. Bootstrap 5 Toggle Switches
Toggle switch style checkboxes using form-check-input with form-switch wrapper.
Frequently Asked Questions
Need a Full Bootstrap 5 Admin Dashboard?
Get a complete Angular 21 + Bootstrap 5 dashboard with 50+ components — built by the same team behind BootstrapPlanet.
Browse Templates →Use code FIRST30 for 30% off your first purchase.