Usage
A menu displays a list of choices on a temporary surface. They appear when users interact with a button, action, or other control.
Principles
Menus are unobtrusive, contextual, and scannable.
Nimble
Menus should be easy to open, close, and interact with.
Contextual
Menu content should be suited to user needs.
Scannable
Menu items should be easy to scan.
Types
Menus allow users make a selection from multiple options. They are less prominent and take up less space than selection controls, such as a set...
Menus allow users make a selection from multiple options. They are less prominent and take up less space than selection controls, such as a set of radio buttons.
Dropdown menus
Dropdown menus display a list of options, triggered by an icon, button, or action. Their placement varies based on the element that opens them.
Exposed dropdown menus
Exposed dropdown menus display the currently selected menu item above the list of options. Some variations can accept user-entered input.
Placement
Menus appear in front of all other permanent UI elements. The maximum height of a menu should be at least one row less than the...
Elevation
Menus appear in front of all other permanent UI elements.
Menus appear at a higher elevation than all other permanent UI elements.
Height
The maximum height of a menu should be at least one row less than the height of the app’s UI.
The rows in this menu are 32dp tall. That’s also the space used between the menu and the bottom of the screen.
Position
Menus should be positioned relative to the edge of the screen or browser. They typically appear next to (or in front of) the element that generates them. If they are in a position to be cut off by the browser or screen’s edge, the menu can instead appear to the left, right, or above the element that generates it.
Menus can change their position to avoid being truncated by the screen or browser’s edge.
Anatomy
Menus display lists of related options (which can be grouped together) as well as unrelated options. Menus appear when a user taps an interactive UI element such as an icon, button, action, or content, such as selected items or text.
Text list
- Container
- Text
- Divider
Text and icon list
- Container
- Leading icon
- Text
- Divider
Text, icon, and keyboard command list
- Container
- Leading icon
- Text
- Divider
- Command
- Cascading menu indicator
Text with selection state list
- Selection state
Actions
Action states inside menus
Disabled actions
Display actions as disabled when they can only be used sometimes, under certain conditions. They should be displayed as disabled rather than removing them.
The Redo action is disabled when that action isn’t available, and the Cut and Copy actions are disabled until content is selected.
Behavior
Scrolling
If not all menu items are displayed at once, menus can be scrollable. In this state, menus show a persistent scrollbar.
If not all menu items are displayed at once, menus can be scrollable. In this state, menus show a persistent scrollbar.
When its content is scrollable, menus display scrollbars.
Motion
Menus open using a scale animation (an animation that shows an element grow in size). The animation creates a relationship between the menu and the...
Menus open using a scale animation (an animation that shows an element grow in size). The animation creates a relationship between the menu and the action that generates the menu.
Position
A menu’s position on screen affects where and how it will appear. If opened at the top of the screen, it will expand downwards (to avoid being cropped).
Menus at different positions on screen open in different ways, adapting to the space available.
By default, menus open with an entrance animation. However, on desktop, menus can skip the animation and open instantly instead.
- Mobile menus have entrance animations
- Desktop menus have the option to open instantly
Theming
Basil Material Theme
This recipe app’s menus have been customized using Material Theming. Areas of customization include color and typography. Basil is a recipe browsing app that demonstrates...
This recipe app’s menus have been customized using Material Theming. Areas of customization include color and typography.
Basil’s customized menu
Color
Basil’s menus use custom color on four elements: the menu container, text, icon, and hover overlay.
Element | Category | Attribute | Value |
Container | Surface | Color Opacity | #FFFFFF 100% |
Text | On Surface | Color Opacity | #29302E 100% |
Icon | Primary | Color Opacity | #356859 54% |
Hover overlay | Primary | Color Opacity | #356859 4% |
Typography
Basil’s menu text uses custom typography.
Element | Category | Attribute | Value |
Text | Body 1 | Typeface Font Size Case | Lekton Medium 16 Title case |
Shape
Basil’s menu containers have custom corner shapes.
Element | Attribute | Value |
Table | Top left corner Top right corner Bottom right corner Bottom left corner | Rounded 6dp Rounded 6dp Rounded 6dp Rounded 6dp |
Shrine Material Theme
This retail app’s menus have been customized using Material Theming. Areas of customization include color and typography. Shrine is a lifestyle and fashion brand that...
This retail app’s menus have been customized using Material Theming. Areas of customization include color and typography.
Shrine’s customized menu
Color
Shrine’s menus use custom color on two elements: the menu container and text.
Element | Category | Attribute | Value |
Container | Surface | Color Opacity | #FFFBFA 100% |
Text | On Surface | Color Opacity | #442C2E 100% |
Typography
Shrine’s menu text uses custom typography.
Element | Category | Attribute | Value |
Text | Body 1 | Typeface Font Size Case | Rubik Regular 16 Title case |
Shape
Shrine’s menu containers have custom corner shapes.
Element | Attribute | Value |
Table | Top left corner Top right corner Bottom right corner Bottom left corner | Cut 8dp Cut 8dp Cut 8dp Cut 8dp |
Specs
Minimum and maximum width
14dp #000000de #ffffff R255 G255 B255 Elevation 8dp All corners Rounded: 4dp List All measurements are displayed in device-independent pixels (dps) 14dp #000000de #ffffff R255...
- Measurement 56
- Measurement 56
- Measurement 112
- Measurement 8
- Measurement 8
- Measurement 16
- Measurement 16
- Measurement 48
- Measurement C
- Measurement 48
- Measurement 56
- Measurement 56
- Measurement 56
- Measurement 56
- Measurement 56
- Measurement 280
- Measurement 8
- Measurement 8
- Measurement 48
- Measurement 48
- Measurement C
- Measurement C
- Measurement 16
- Measurement 16
Dropdown
14dp #000000de Elevation 8dp All corners Rounded: 4dp List All measurements are displayed in device-independent pixels (dps) 14dp #000000de 14dp #000000de #00014 R0 G1 B4...
Mobile
- Measurement 44
- Measurement 144
- Measurement 128
- Measurement 40
- Measurement 16
- Measurement 8
- Measurement 8
- Measurement 4
- Measurement 24
- Measurement 32
- Measurement 8
- Measurement 8
- Measurement 1
- Measurement 32
- Measurement 8
- Measurement 48
- Measurement 144
- Measurement 8
- Measurement 12
- Measurement 4
- Measurement 16
- Measurement 8
- Measurement C
- Measurement C
- Measurement 24
Desktop
- Measurement 48
- Measurement 48
- Measurement 8
- Measurement 8
- Measurement 8
- Measurement 8
- Measurement C
- Measurement 24
- Measurement 24
- Measurement 1
- Measurement 20
- Measurement 24
Dropdown (Desktop)
14dp #000000de #ffffff R255 G255 B255 Elevation 8dp All corners Rounded: 4dp Dividers Dividers List All measurements are displayed in device-independent pixels (dps)
Dense
- Measurement 32
- Measurement 320
- Measurement 8
- Measurement 8
- Measurement 1
- Measurement 8
- Measurement 24
- Measurement 16
- Measurement 15
- Measurement 56
- Measurement 32
- Measurement 8
- Measurement 8
- Measurement 8
Implementation
Menus implementation support for each platform is indicated below.