Design
Component checklist
Overview
The Text Field lets a fan enter information and gives feedback as they go. It carries an optional title, the text input, and optional subtext and validation text beneath.
Usage
States
Default
Used when the text field is not currently in focus.
Focussed
Used when the text field is currently in focus.
Validation
Used when the input data is not valid.
Read Only
Used when the input data cannot be changed and is in a read-only state.
Overflowing Text
In the event of text overflowing a text input, the default device/browser behaviour should apply.
Design
Appearance
|
Item |
Usage |
|---|---|
|
1 |
Light Mode |
|
2 |
Dark Mode |
Anatomy
|
Item |
Usage |
|---|---|
|
1 |
Title Text (Optional) |
|
2 |
Text Input |
|
3 |
Subtext Text (Optional) |
|
4 |
Validation Text (Optional) |
|
5 |
Validation Warning Icon (Optional) |
Variants
|
Item |
Usage |
|---|---|
|
1 |
Default |
|
2 |
Focused |
|
3 |
Validation |
|
4 |
Read Only |