If you answer yes, we store and analyse information that helps us improve the website. You can change your choice at any time at the bottom of the page. More about what we store and why.

We also store necessary information that cannot be opted out of. This makes the website work and keeps it secure.

Skip to main content

What are you looking for?

Try searching for…

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.

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)