Skip to main content

Forms & Inputs

Styled form inputs, controls.

Forms & Inputs

Form Example​

Individual form controls automatically receive some global styling. All textual <input>, <textarea>, and <select> elements with .form-control are set to width: 100%; by default. Wrap labels and controls in .form-group for optimum spacing.

Loading CodePen embed...

Other Variants​

Form Controls​

Textual form controls—like <input>s, <select>s, and <textarea>s are styled with the .form-control class. Included are styles for general appearance, focus state, sizing, and more.

Loading CodePen embed...

Input Group​

Loading CodePen embed...

Radio​

Loading CodePen embed...

Checkbox​

Loading CodePen embed...