Material Bootstrap Input Groups


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 the noWrap property.

@

Sizing

Add the sizeMode property in order to change the size of the input group.

Small Default Large

Checkbox and radios

Place any checkbox or radio option within an input group’s addon instead of text.

Multiple inputs

While multiple <input>s 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 elements.

$ 0.00 $ 0.00

Buttons addons

Input groups with Material Bootstrap Button as addons.

Button Button Button Button Button Button

Buttons with dropdowns

Input groups with Material Bootstrap Dropdowns that contains Material Bootstrap buttons as addons.

Action Another action Something else here Separated link Action Another action Something else here Separated link

Buttons with Split Buttons

Input groups with Material Bootstrap Split Buttons that contains Material Bootstrap buttons as addons.

Action Another action Something else here Separated link Action Another action Something else here Separated link

Custom select

Input groups with a select insted of input.

Button

Custom file input

Input groups with a file upload.

Upload Choose file Choose file Upload Button Choose file Choose file Button

Material Design

Upload Choose file Choose file Upload Button Choose file Choose file Button