Input: Search Field

The Search Field lets fans enter keywords or phrases to quickly find information.

Input: Search Field/Hero

 

Component checklist

Design

Up to date

Flutter

Up to date

Widgetbook

-

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

Input: Search Field/Appearance

Item

Usage

1

Light Mode

2

Dark Mode

Anatomy

Input: Search Field/Anatomy

Item

Usage

1

Search Icon

2

Text Input

3

Delete Text Icon (Optional)

4

Cancel Text

Variants

Input: Search Field/Variants

Item

Usage

1

Default

2

Default w/ Cancel Text

3

Focussed

4

Focussed w/ Cancel Text