Skip to main content

Menu

    The Menu component displays the list of action items that are revealed when the user clicks on the trigger element.

    When to use

    • To group related actions or navigation items in an overlay. These actions trigger immediate events, such as copying, editing, or deleting a table item, via an options button.

    When not to use

    • To choose one or more options from a predefined list of related items that don't trigger immediate events. For example, selecting a timezone in a form. Use Select instead.

    Examples of the Menu and Select components next to each other.

    Examples of the Menu and Select components next to each other.

    Content guidelines

    1. Trigger button (required)
    2. Options (required)

    Menu anatomy diagram

    Menu anatomy diagram

    Trigger button

    The trigger button may include short, clear labels, and prefix and suffix icons. One or more of these elements may be used. The options can also be opened from a dot menu or the app help menu.

    Options

    Labels

    For actions, start with a verb. For consistency and easy reading, use the same grammatical pattern for all items in a group.

    • Use sentence case (capitalize only the first word and any names).
    • Keep it short, just one to three words.
    • Remove unnecessary words such as "the", "a", or "an".
    • Don't add trademarks or registered symbols.
    • Don't add periods or ellipses. If the action opens a new view or navigates elsewhere, use an IntentButton. If it opens a nested or multi-level menu, use a chevron.
    • Only use a Tooltip for additional context.

    Menu content example 1

    Menu content example 1

    Icons

    Prefix
    Suffix
    • Include keyboard shortcuts with the KeyboardShortcut component when relevant.

    Menu content example 2

    Menu content example 2

    • Use the ExternalLink icon when the item links to an external resource. External resources are anything outside of the user's current environment, including:

    • Other Dynatrace environments (from ENV-ID.dynatrace.com to ENV-ID-2.dynatrace.com).

    • Dynatrace documentation or domains (from ENV-ID.dynatrace.com to docs.dynatrace.com).

    • Third-party domains (from ENV-ID.dynatrace.com to anothercompany.com).

    Example of a Menu component that links to an external and internal resource.

    Example of a Menu component that links to an external and internal resource.

    When a menu contains a mix of actions, functions, and links:

    • Group similar items together.
    • Separate groups with divider lines.
    • Consider adding section labels for context. See Groups and icons for more details.

    Menu content example 3

    Menu content example 3

    Still have questions?
    Find answers in the Dynatrace Community