Design
Component checklist
Overview
The Search Field lets a fan enter keywords to find something. It carries a search icon and the text input, with an optional control to clear the text and a cancel action alongside.
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.
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 |
Search Icon |
|
2 |
Text Input |
|
3 |
Delete Text Icon (Optional) |
|
4 |
Cancel Text |
Variants
|
Item |
Usage |
|---|---|
|
1 |
Default |
|
2 |
Default w/ Cancel Text |
|
3 |
Focussed |
|
4 |
Focussed w/ Cancel Text |