Forms

Basic

We'll never share your email with anyone else.

Form controls

Sizing

Readonly

Readonly plain text

Range Inputs

Checkboxes and radios

Default (stacked)

By default, any number of checkboxes and radios that are immediate sibling will be vertically stacked and appropriately spaced with .form-check.

Inline

Without labels

Layout

Form groups

Form grid

Form row

Horizontal form

Radios
Checkbox
Horizontal form label sizing

Column sizing

Auto-sizing

@
@

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.

Inline text can use any typical inline HTML element (be it a <small>, <span>, or something else) with nothing more than a utility class.

Must be 8-20 characters long.

Disabled forms

Validation

Custom styles

Looks good!
Looks good!
@
Please choose a username.
Please provide a valid city.
Please provide a valid state.
Please provide a valid zip.
You must agree before submitting.

Browser defaults

@

Server side

Looks good!
Looks good!
@
Please choose a username.
Please provide a valid city.
Please provide a valid state.
Please provide a valid zip.
You must agree before submitting.