An symbol, text, or button can be added in front of or behind an input field as a “help text” using the .input-group class as a container to improve an input.
To add the help text in front of the input, use .input-group-prepend; to add it behind the input, use .input-group-append.
To style the provided help text, add the .input-group-text class last.
@
@example.com
Example
Input Group Sizing
For small input groups, use the .input-group-smclass; for big input groups, use the .input-group-lg class:
Small
Default
Large
Example
Multiple Inputs and Helpers
Add more than one input or add-on:
Person
OneTwoThree
Example
Input Group with Checkboxes and Radios
In place of text, you may also utilize radio buttons or checkboxes:
Example
Input Group Buttons
Some text
Example
Input Group with Dropdown Button
In the input group, provide a dropdown button. As opposed to typically, you do not require the.dropdown wrapper.