Select, Checkboxes, Radios, Switches & Range
Select Menu
html
<label for="country" class="form-label">Country</label>
<select class="form-select" id="country">
<option selected>Choose...</option>
<option value="in">India</option>
<option value="us">United States</option>
<option value="uk">United Kingdom</option>
</select>
Use form-select-lg or form-select-sm for sizes, and add the multiple attribute for a multi-select list.
Checkboxes
html
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="agree">
<label class="form-check-label" for="agree">
I agree to the terms
</label>
</div>
Radio Buttons
Radio buttons with the same name belong to one group, and only one can be selected.
html
<div class="form-check">
<input class="form-check-input" type="radio" name="plan" id="free" checked>
<label class="form-check-label" for="free">Free plan</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="plan" id="pro">
<label class="form-check-label" for="pro">Pro plan</label>
</div>
Inline Options
html
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="c1">
<label class="form-check-label" for="c1">HTML</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="c2">
<label class="form-check-label" for="c2">CSS</label>
</div>
Switches
html
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="dark">
<label class="form-check-label" for="dark">Enable dark mode</label>
</div>
Result
A toggle that slides from off to on when clicked, just like phone settings.
Range Slider
html
<label for="volume" class="form-label">Volume</label>
<input type="range" class="form-range" min="0" max="100" step="5" id="volume">
Quick Reference
| Control | Main Classes |
|---|---|
| Dropdown | form-select |
| Checkbox | form-check + form-check-input |
| Radio | form-check + form-check-input + same name |
| Switch | form-check form-switch |
| Slider | form-range |
Conclusion
These controls cover almost every form need. Keep the label connected with each input, and group radios with the same name.
Quick Summary: form-select, form-check (checkbox and radio), form-switch and form-range style the main form controls.

