Anatomy
Note: Image is not to scale
- Input value
- Label/Placeholder
- Border
- Button Icon
- Contextual Icon (non-actionable)
- Optional Helper text
Options
Icon
Icon has two placements left
or right
.
Types
Text input supports the following text inputs: text
search
url
tel
email
.
Helper Text
Input text supports an optional help text.
Behavior
Focus
Click input text component to demostrate focus.
Error
Success
Required
Disabled
Text Overflow
Overflow of the input value is indicated by an ellipse.
Guidance
Actionable inputs
Inputs that require user to take action and include an icon should have the icon be right. A left icon is meant for contextualizing the input.