Basic Form Elements

Examples of Bootstrap 5 form controls including inputs, selects, checkboxes, radios, and more.

Credit Card Payment Form
$
Looks good!
Please enter a valid card number.
Please enter expiration date.
Company Registration Form
Basic Form Elements

staticuser@example.com

This is a help text for the input field.
We'll never share your email with anyone else.
Must be 8-20 characters long.
Select Elements
Hold ctrl/cmd to select multiple options
Checkboxes & Switches
Basic Checkboxes
Inline Checkboxes
Switches
Radio Buttons
Basic Radios
Inline Radios
Radio Button Group
File Input
Range & Color
0 100
Horizontal Form
Radios
Inline Form
@

Floating Labels
Form Validation
Looks good!
Looks good!
@
Please choose a username.
Please provide a valid city.
Please select a valid state.
Please provide a valid zip.
You must agree before submitting.