Bootstrap Forms

Styling forms with Bootstrap

Form Controls

.form-control # text input, textarea, select
.form-control-lg # large input
.form-control-sm # small input

Form Groups

.mb-3 # form group spacing
.form-label # form label
.form-text # help text

Checkboxes and Radios

.form-check # checkbox/radio container
.form-check-input # checkbox/radio input
.form-check-label # checkbox/radio label
.form-check-inline # inline checkboxes

Select

.form-select # styled select dropdown
.form-select-lg # large select
.form-select-sm # small select

Input Groups

.input-group # input with addons
.input-group-text # addon text/icon

Validation

.is-valid # valid input styling
.is-invalid # invalid input styling
.valid-feedback # validation success message
.invalid-feedback # validation error message