Menu

Displays a list of actions in a dropdown.

Usage guidelines outline how the component should and shouldn’t be used in different user interface contexts.

When to use

  • When there is a space constraint, and you need to display more actions available to the user.
  • For non-primary actions that are not critical to a user’s workflow and can therefore be hidden.

When not to use

  • When there’s enough space to display the available actions (use a Button or Link instead).
  • For primary actions critical to a user’s workflow (use a Button instead).

Best practices

Do

Do use the nested feature when one MenuItem has multiple MenuItems associated with it.

Do

Do use a Switch in a MenuItem to let users turn a setting on or off.

Do

Do keep copy concise so that the Menu is easy to navigate.

Don't

Don't create a Menu with a very narrow or wide width; keep it reasonable so its content is legible.

Don't

Don't mix many different elements in a Menu, as it makes it busy and hard to navigate.

Don't

Don't use a MenuList on its own.