Basic Inputs
Input Styles
To set rounded border to input box, use .round
class and
to set square border to input box, use .sqaure
class alongwith .form-control
class.
Floating Label Inputs
For Flating Label Inputs, need to use .form-label-group
class & add attribute disabled
for disabled Floating Label Input.
Input Validation States
You can indicate invalid and valid form fields with .is-invalid
and .is-valid
. Note that .invalid-feedback
is also supported with these classes.
Input Validation States with Tootltips
.{valid/invalid}-feedback
classes for .{valid/invalid}-tooltip
classes to display validation feedback in a styled tooltip.
Input with Icons
For Input Box with left side icon, use class .has-icon-left
and for use divider between icon and input text box use .input-divider-left
or .input-divider-right
for left and right divider respectively.
Floating Label Input with Icons
Control Sizing Option
For different sizes of Input, Use classes like .form-control-lg
& .form-control-sm
for Large, Small input box.
Label Control Sizing Option
For different sizes of Input, Use classes like .form-control-lg
& .form-control-sm
for Large, Small input box.