Input Groups Default input elements for forms
Basic example
Place one add-on or button on either side of an input. You may also place one on both sides of an input. Remember to place <label>
s outside the input group.
Wrapping inputs
flex-wrap: wrap
in order to accommodate custom form field validation within an input group. You may disable this with .flex-nowrap
Various sizing
.input-group
itself and contents within will automatically resize—no need for repeating the form control size classes on each element. Sizing on the individual input group elements isn’t supported
Checkboxes and radios
Multiple inputs
.input-group
itself and contents within will automatically resize—no need for repeating the form control size classes on each element. You can add .input-group-multi-transition
to .input-group
to animate focused inputs
Segmented buttons
Seamless icon
Button addon
Buttons with dropdown
Custom forms
File upload
Kitchen sink