Input group addons

Extend form controls by adding text or buttons before, after, or on both sides of any text-based input, select or file input. Use .input-group with an .input-group-text to prepend or append elements to a single or multiple .form-control and .form-select elements. Place one add-on or button on either side of an input. You may also place one on both sides of an input. While multiple <input>s are supported visually, validation styles are only available for input groups with a single <input>.

Text addon
@
$ 0.00
%
$ 0.00
$ .00
Icon addon
$
0.00
Icon addon
Spinner addon
Loading...
Loading...
Loading...
Loading...
Form addons
Color options
Validation states
@
@
Input group buttons

Optional buttons as addons. Buttons in input groups are a bit different and don't require one extra level of nesting. Instead of wrapping the buttons in .input-group-text, you need to add button markup as-is before or after form inputs. Input group buttons support all available button options except sizing - all buttons height will be adjusted automatically according to the input group size.

Button addon
Button dropdown addon
Color options
Input group with selects

You can also use selects instead of regular inputs and also mix them in different order. Selects in input group don't require any additional wrappers and/or specific class names, it works out of the box and logic is similar to input fields. Just add <select> element markup with .form-select class inside .input-group or mix it with other elements such as buttons, file/text inputs or text addons.

Text addon
$
$ 0.00
@
$ 0.00
Button addon
Multiple selects
$
0.00
Mixing types
$
$
Input group with file input

You can also use file inputs instead of regular inputs and also mix them in different order. File inputs in input group don't require any additional wrappers and/or specific class names, it works out of the box and logic is similar to input fields. Just add a regular file input type markup with .form-control class inside .input-group or mix it with other elements such as buttons, selects, text inputs or text addons.

Text addon
.pdf, .png
.pdf .png
.pdf, .png
.pdf .png
Button addon
Mixing types
Validation states
Sizing options

Input group supports 3 sizing variations: default, small and large. Default size doesn't require any additional sizing class name, small size requires .input-group-sm class and large size requires .input-group-lg class added to default .input-group container. All other elements within input group are adjusted automatically.

Input fields
Selects
File inputs
Activity
New notifications
James has completed the task Submit documents from Onboarding list
2 hours ago
Margo has added 4 users to Customer enablement channel
3 hours ago
Subscription #466573 from 10.12.2021 has been cancelled. Refund case #4492 created
4 hours ago
Older notifications
Nick requested your feedback and approval in support request #458
3 days ago
Mike added 1 new file(s) to Product management project
new_contract.pdf
112KB
1 day ago
All hands meeting will take place coming Thursday at 13:45.
2 days ago
Christine commented on your community post from 10.12.2021
2 days ago
HR department requested you to complete internal survey by Friday
3 days ago
Loading...
Demo configuration
Color mode
Direction
Layouts
Purchase Limitless