💠 Tooltip

💠 Tooltip

A floating, non-actionable label used to explain a user interface element or feature.

Usage

The Tooltip component is a non-actionable, floating label that provides additional information about a user interface element or feature. It appears temporarily when users hover over, focus on, or tap an element.

The Tooltip is used to offer brief, context-specific explanations or to guide users without adding clutter to the interface.

When designing a Tooltip, keep the text concise and informative. It should be instantly readable, so avoid lengthy descriptions that may overwhelm the users.

When to use

  • To explain functionality: Use Tooltips to describe the action or effect of interactive elements like buttons, icons, or other controls when the function is not immediately apparent.
  • To provide additional context: Employ Tooltips to offer extra context that can help users understand less obvious interface elements.
  • For abbreviations and jargon: If your interface includes technical terms, acronyms, or jargon, Tooltips can be used to provide the full meaning or explanation.
  • To avoid interface clutter: Instead of crowding your UI with explanatory text, Tooltips can maintain a clean layout while still offering the necessary descriptions on demand.

Avoid using Tooltips for critical information that users must know since they are only visible on hover or focus and not discoverable by touch on mobile devices. Information necessary for completing tasks should be visible and not hidden within Tooltips.

Additionally, refrain from using Tooltips to provide instructions that are complex or require significant interaction, as this can lead to a frustrating user experience.

Examples

Outline

Fill

Side

Useful links

Here you go! Here are all the resources you might need if you are a designer, a developer or a content manager:

Accessibility

Keyboard interactions

KeyDescription
Space
If open, closes the tooltip without delay.
Enter
If open, closes the tooltip without delay.
Tab
Opens/closes the tooltip without delay.
Esc
If open, closes the tooltip without delay.