The text field allows users to enter and edit text.
When to use
When to avoid
Specifications
Label placement
Content
States
Anatomy
1
Label
Should indicate some kind of instruction for selection. If majority of fields are required in a single form, the "Option" label can be toggled on. If majority of fields are optional, the "Required asterisks" should instead be toggled on.
2
Lead / Trailing icon
Optional icons can be placed on either the leading or trailing edge to add visual meaning or functionality to the text field.
3
Assistive text
For additional instructions or validation messages, which can be paired with an icon for enhanced visual meaning.