Skip to main content

Tooltip

Use the Tooltip component to display extra information when users hover on a trigger element.

When to use

  • To show brief, contextual information about an element, icon, interaction, or feature on hover, without cluttering the interface.
  • To reassure users about the purpose of icon-only triggers.

When not to use

Placement

  • The default placement is always at the top. If you're working with a vertical list of items, where each item has a tooltip, place the tooltips on the right or left.
  • Avoid placing tooltips at the bottom.

Content guidelines

Anatomy of a Tooltip with two numbered callouts mapping to the parts described below: Trigger and Details. Anatomy of a Tooltip with two numbered callouts mapping to the parts described below: Trigger and Details.

  1. Trigger (required)
  2. Details (required)

General guidelines

  • Use sentence case (capitalize only the first word and any proper nouns, such as brand names).
  • Use plain English and avoid technical jargon, unless it's industry standard.
  • Only add details that aren't in the trigger text. For example, if the trigger says “Share”, don't repeat "Share" in the tooltip.
  • Don't add headers or buttons.
  • Don't add links. If you want to add a link, use InformationOverlay.
  • Don't use any formatting, such as bold or italics.
  • Don't use quotation marks.

Types of tooltip

Below are three different types of tooltip, including do and don't examples.

Display action or item name

Use a tooltip to show the name and purpose of an icon-only button.

  • Keep names simple and consistent with those of other apps.
  • Don't add periods or exclamation marks.

Example of a correct Tooltip labeled "Move" with no period, and an incorrect one labeled "Move section." that adds an extra word and end punctuation. Example of a correct Tooltip labeled "Move" with no period, and an incorrect one labeled "Move section." that adds an extra word and end punctuation.

Explain something briefly

Use a tooltip to provide a short explanation of something that isn't self-explanatory or commonly understood.

  • Only use a tooltip for extra information that isn't crucial for the user to complete their task.
  • Keep to one sentence or a maximum of two short sentences.
    • One sentence: Don't put a period at the end.
    • Two sentences: Put periods after both sentences.

Example of a correct single-sentence Tooltip "No segment applied" with no period, and an incorrect one "No segment applied." that adds one. Example of a correct single-sentence Tooltip "No segment applied" with no period, and an incorrect one "No segment applied." that adds one.

Example of a correct two-sentence Tooltip with a period after each sentence, and an incorrect one with the same two sentences missing both periods. Example of a correct two-sentence Tooltip with a period after each sentence, and an incorrect one with the same two sentences missing both periods.

Display truncated text

Use a tooltip to show the full text of something that truncates in the UI, for example a document name. Only do this if there's no other way to display the full text, such as line wrapping.

  • Show the complete text as it would appear without truncation.
  • Don't change the wording or add extra information.
  • Don't add quotation marks, periods, or formatting.

Example of a correct Tooltip showing the exact truncated text "Log ingestion overview", and an incorrect one adding quotation marks and the extra word "dashboard". Example of a correct Tooltip showing the exact truncated text "Log ingestion overview", and an incorrect one adding quotation marks and the extra word "dashboard".

Still have questions?
Find answers in the Dynatrace Community