Search Box

v1.4

Overview

A Search Box provides a mechanism for searching broadly across an application or all the columns of a Data Table. It can be used for both desktop and mobile applications.


Anatomy

Dimensions and States

Behavior

Typeahead

Results Navigation

Overview

Search boxes allow users to filter through large collections/a list of values by typing text into a field. There are two types of search boxes:

Types

Interaction States

***# Digital Accessibility

Keyboard Behavior

Use standard order of operations, Left to Right, Top to Bottom.

KEYFUNCTION
TABTakes user to the next interactive element in the tab order
SHITF+TABTakes user to the previous interactive element in the tab order
ENT/RET or SPCSubmits value
Expands/Collapses toggle
Clears value (when close icon has focus)
Arrow Left/RightMoves cursor left or right, in-between each character of value string
Arrow Up/DownUp arrow moves cursor to the beginning of the value string
Down arrow moves the cursor to the end of the value string
DELClears value when text box has focus

References

View Code on Storybook