Skip to content

Search field #733

Description

@mkernohanbc

A search field is a variant of a text field that enables the user to enter, modify or clear a search query. This component will be

A search field should:

  • Render an <input> element with the ARIA search role
  • Provide a method to quickly clear the entered value
  • Support form validation, including error state
  • Contemplate how to support/integrate with other components (eg. autocompletion and tag-based filtering)

React Aria provides a SearchField component to build on. It also provides Collections and Autocomplete APIs that may be relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    react-componentsChanges or issues affecting the design-system-react-components package

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions