![]() |
VOOZH | about |
Input Groups in Bootstrap are used to extend the default form controls by adding text or buttons on either side of textual inputs, custom file selectors, or custom inputs.
Basic input groups: The following classes are the base classes that are used to add the groups to either side of the input boxes.
The following example demonstrates these input groups:
Output:
π Prepend and AppendSizing of the Input Groups
The input groups could be made larger or smaller by additional classes. There are 3 possible sizes of input groups:
Note: Sizing on the individual input group elements isnβt currently supported.
Example:
Output:
π Sizing of input groupsUsing Multiple Inputs: Multiple inputs could be used with input groups.
Example:
Output:
π Multiple Inputs
Using Multiple Addons: Multiple addons could be stacked or mixed together with other types, including checkboxes and radio buttons.
Example:
Output:
π Multiple AddonsUsing Button Addons: Buttons could also be appended or prepended to the input box.
Example:
Output:
π Multiple ButtonsUsing Custom Select: Input groups could be used with custom select.
Note: Browser default versions of custom select are not supported.
Example:
Output:
π Custom SelectUsing Custom File Input: Input groups could be used with custom file inputs.
Note: Browser default versions of file inputs are not supported.
Example:
Output:
π Custom File