Forms
Forms - Sizing
Forms - Checkboxes (Stacked)
Forms - Checkboxes (Inline)
Forms - Radios (Stacked)
Forms - Radios (Inline)
Forms - Checkboxes & Radio (Without labels)
Forms - Layouts - Default
Forms - Layouts - Grid
Type 1
Type 2
Forms - Layouts - Horizontal Form
Forms - Layouts - Horizontal Form (Sizing)
Be sure to use .col-form-label-sm
or .col-form-label-lg
to your <label>
s or <legend>
s to correctly follow the size of .form-control-lg
and .form-control-sm
.
Forms - Layouts - Horizontal Form (Auto-sizing)
Forms - Inline
Forms - Help Text
Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji.Forms - Disabled
Forms - Validation
Type 1
Success! You've done it.
Example help text that remains unchanged.
Shucks, check the formatting of that and try again.
Example help text that remains unchanged.
Sorry, that username's taken. Try another?
Example help text that remains unchanged.
Type 2
Requires a form
container with class needs-validation
and was-validated
. See code for more.
Forms - Custom (Checkbox)
Forms - Custom (Radio)
Forms - Custom (Others)
Forms - Input group
@
@example.com
https://example.com/users/
$
.00
With textarea
Forms - Input group (Multiple addons)
$
0.00
$
0.00
Forms - Input group (Sizing)
Small
Default
Large
Forms - Input group (Checkboxes and radio addons)
Forms - Input group (Multiple Inputs)
First and Last Name
Forms - Input group (Button addons)
Forms - Input group (Buttons with dropdowns)
Forms - Input group (Segmented buttons)
Forms - Input group (Custom select)
Forms - Input group (Custom select)
Upload
Upload