Skip to content

Tooltip usage guidelines

A tooltip is a floating, non-interactive label that provides additional context about a user interface element or feature.

  • For displaying non-essential supporting information.
  • To assist in explaining interactive elements that display an icon with no visible label.
  • To provide clarity about an interaction.
  • For obvious information or repetitive content.
  • Critical task-related information should not be hidden in a tooltip, and should be part of the standard page layout instead.
  • Use popovers if the floating content contains interactive elements.

Tooltip vs. popover
Tooltips and popovers are similar concepts that often get confused:

  • Tooltips are shown when the trigger element is hovered or focused. They cannot contain interactive elements, they are inaccessible to screen readers, and they cannot be displayed on touchscreens.
  • Popovers are shown when the trigger element is pressed. They can contain interactive elements, they are accessible to screen readers, and they can be displayed on touchscreens.

The placement of the tooltip with respect to the trigger element.

  • Before using a tooltip, explore if the information can be made readily available through clearer UI design.
  • Ensure that your UI is usable without relying on tooltip content. Assume that tooltip content will never be read.
  • Tooltips should only contain short, informative text. Do not include links or interactive elements, as this creates accessibility and usability issues.
  • Avoid placing critical information in tooltips. Due to their limited discoverability and lack of hover interaction on some devices, they are unreliable for conveying essential details.
  • Never use tooltips on disabled elements. This creates an inaccessible and unsupported user experience.

Tooltips will appear above the trigger element by default, but placement can vary based on tooltip properties and available space within the viewport. The trigger should be an interactive element, for example an icon button.

Tooltips are sized dynamically based on the content inside. They have a maximum width of 240px, and a maximum height of 5 lines of text.

  • Avoid repeating content inside a tooltip if there’s already a visible label.
  • Tooltips should provide relevant, specific context.
  • Avoid placing critical task instructions within tooltips.
  • For icon-only components, use tooltips to clearly define their function with short descriptions. For example, say “Add new product” instead of “Add new business card in Product Catalog Dashboard for Vistaprint”.

Tooltips appear after a brief pause when hovering over the trigger element, or immediately when using keyboard focus. They remain visible during short pointer movements away from the target.

Tooltips persist as long as the user hovers on the trigger element or on the tooltip itself, or as long as the trigger element has keyboard focus. Tooltips can be dismissed by pressing the Escape key.