Basic examples

Use .input-group-prepend and .input-group-append into .input-group

Select addon

Input group break

Long contents don't fit in small screens? Use .input-group-{breakpoint}-down-break modifier classes to break horizontal alignment and keep the same style in vertical order. Reduce browser size to see it in action.

Vertical example:

Input group merge

Use .input-group-merge to place one add-on on either side of an input that keeps icons as a part of the form control. You may also place one on both sides of an input.

Input group pilled

Use the .input-group-pill modifier class to make forms more rounded (with a larger border-radius and additional horizontal padding).

Input group borderless

Add .input-group-borderless for an input without borders.

Input group flush

Add .input-group-flush to remove some borders and rounded corners to render input edge-to-edge in a parent container.

Input group light

.input-group-light adds light background color.

Input group hover light

.input-group-hover-light adds light background color on hover.