Usage guidelines outline how the component should and shouldn’t be used in different user interface contexts.
When to use
- There are more than 4 options to choose from, and:
- Expecting the user to make multiple choices
- The list should be searchable
- When expecting users to filter data sets
When not to use
- There are less than 4 options to choose from (use Checkbox for multiple selections, and Radio Group for singular)
- There are more than 4 options to choose from, but the user can only choose a single option (use Select instead)
Best practices
Do use MultiSelect when users can search and choose multiple options at once (often in filtering).
Do use common sense to order the options in a logical order (alphabetically, numerically, frequency of use).
Do display the value of the selected option if only one is selected.
Be careful when using indeterminate Checkbox state in MultiSelect. Use the indeterminate Checkbox state for Select / Deselect functionality, if several children Checkboxes in a group are checked (but not all).
Do display a count with a “selected” suffix if the number of selected items is greater than 1.
Don’t use a MultiSelect when there are less than 4 options to present and there’s space available. Use a Checkbox instead.