Forms in Bootstrap are styled using the .form-control
, .form-label
, .form-check
, and .btn
classes. You can easily build clean, responsive form UIs without writing extra CSS.
Official docs: Bootstrap Forms Docs
Type or edit the form code below and preview it live:
.form-label
with inputs, use .form-control
for text fields, and .form-check
for checkboxes. The .mb-3
class adds margin spacing between fields.