When to use
Section titled “When to use”- To give frequent users quick access to actions on a record, file or card.
When not to use
Section titled “When not to use”- As the only way to an action: right click is not discoverable and touch needs a long press. Offer the same actions in a DropdownMenu or with buttons too.
- Where the browser menu is expected: text fields and links.
Anatomy
Section titled “Anatomy”- Area: the element that listens for right click, given as
trigger. - Menu: the DropdownMenu surface, opened at the pointer.
- Items: the DropdownMenu parts.
Behaviour
Section titled “Behaviour”- Right click, or a long press on touch, opens the menu at the pointer; the browser menu does not open.
- When the menu opens, focus moves to the first item; it closes when an item is chosen or with Escape.
- When there is no room, the menu shifts to stay on screen.
Guidelines
Section titled “Guidelines”- Show actions about the area itself; put the most common action first.
- Put a dangerous action last, after a separator.
- Give the same items in the same order as the row’s DropdownMenu.
Content
Section titled “Content”- Item names are verbs: “Edit”, “Duplicate”, “Delete”.
Related components
Section titled “Related components”- DropdownMenu: the same menu, opened from a button.
- ActionBar: actions for selected records.