Input group

Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs, custom selects, and custom file inputs.

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.

@
@example.com
https://example.com/users/
$ .00
@
With textarea

                            
                              
                            
                          

Wrapping

Input groups wrap by default via flex-wrap: wrap in order to accommodate custom form field validation within an input group. You may disable this with .flex-nowrap.

@

                            
                              
                            
                          

Sizing

Add the relative form sizing classes to the .input-group itself and contents within will automatically resizeā€”no need for repeating the form control size classes on each element.

Small
 
Default
 
Large