Skip to main content

Tooltip - Icon

A tooltip - icon is a contextual message that appears when users interact with an icon or icon button, providing specific context.

Dos and Don’ts

Do
  • Use one or two words.
Don't
  • If additional information needs to be displayed to the user, use the Tooltip instead.


Anatomy

Anatomy of the icon tooltip, showing the body copy.
  1. Body copy: Describes the function or action in one or two words.

Variants

Default

Used on light backgrounds or containers.

Example of the default icon tooltip.

Inverse

Used on dark backgrounds or containers. Ensure the inverse tooltip is entirely within the dark container and does not overlap the light background.

Example of the inverse icon tooltip on a dark background.
Example of the inverse icon tooltip on a complex background.

Sizes

Width

Fixed

The container width is fixed to fit the content and retains 12px left and right padding.

Example of an icon tooltip with a fixed width.

Placement

Offset

By default, the icon tooltip has a 4px offset between the pointer and the associated UI element. The offset can be overridden if needed.

Example showing the 4px offset between the icon tooltip and its trigger.

Position and alignment

A tooltip can open at the top, bottom, left or right, with alignment to the start, centre or end of the content, depending on the position of the UI trigger on the screen. For example, if the trigger appears near the edge of the interface, the tooltip may open from a different position or with a different alignment to avoid cropping, bleeding off the page or covering important information. By default, our tooltips open at the bottom.

Bottom

Icon tooltip positioned at the bottom, with start, centre and end alignment.

Top

Icon tooltip positioned at the top, with start, centre and end alignment.

Left and right

Icon tooltip positioned to the left of its trigger.
Icon tooltip positioned to the right of its trigger.

Inverse tooltip

If an inverse tooltip is required, ensure that it is entirely within the dark container and does not overlap with the light background to avoid visual issues.

Do
Example of an inverse icon tooltip fully contained within a dark background.
Don't
Example of an inverse icon tooltip overlapping a light background.


Behaviours

Trigger

A trigger can be any UI element, such as a standalone icon or icon button that has no label. Tooltips are triggered by hovering (on desktop) over a trigger.

Icon tooltip triggered by hovering over an icon button.
Icon tooltip triggered by hovering over a stamp card icon.

Interactions

Close

The tooltip disappears when the user moves the pointer away from the associated UI element.

Example of an icon tooltip closing when the pointer moves away from its trigger.

Content

  • All content should use sentence case.
  • Tooltip messages should only be one or two words.
  • Do not include crucial information. Important information should always be visible, not hidden in tooltips.

Examples

LTR examples

Here are some examples of the component in left-to-right context:

Example of the icon tooltip in a left-to-right context, showing the label 'Scheduled'.
Example of the icon tooltip in a left-to-right context, showing the label 'Gifts'.

RTL examples

Here are some examples of the component in right-to-left context:

Example of the icon tooltip in a right-to-left context, showing the label 'מתוזמן'.
Example of the icon tooltip in a right-to-left context, showing the label 'מתנות'.
Back to top