Skip to main content

Components

Suggestion

Suggestion is a searchable "select" with support for multiple selections.

Suggestion is under development. If you find any issues or missing functionality, please report them on Github or in Slack.

Use Suggestion when

  • users need to choose one or several options from a large list
  • it is helpful that the list is filtered based on what the user types
  • searching is faster than scrolling

Avoid Suggestion when

  • users need to choose between only a few options — use Radio or Checkbox instead
  • users expect an operating-system-native experience — in that case, use a native <select> element

Example

Multiple selection

You can allow users to select several options. Removable Chips will appear after the <label> and before the input field.

Filtering

Filtering is enabled by default, and it searches based on the text in the input field. You can provide your own filter logic. The example below shows how to turn filtering off entirely.

Guidelines

Suggestion works best when users need to find the right option within a large list. The strength of the component lies in its ability to filter as the user types, making it easier to navigate many choices.

Text

Use a clear label that explains what the user is expected to choose.

Do

Don't

Each option should be short — ideally one word or a brief phrase. If no results are found, show a concise message such as “No results”.

Edit this page on github.com (opens in a new tab)