Explore Templates

Input group

Give textual form controls like <input>s and <textarea>s an upgrade with custom styles, sizing, focus states, and more.

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
http://.com
Sizing

Add the relative form sizing classes to the InputGroup and contents within will automatically resize—no need for repeating the form control size classes on each element.

Small
Default
Large
Multiple inputs

While multiple inputs are supported visually, validation styles are only available for input groups with a single input.

First and last name
Multiple addons

Multiple add-ons are supported and can be mixed with checkbox and radio input versions.

Custom forms

Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.

Options
Options
Upload
Upload