Skip to content

Tooltip

Tooltips provide consice supplementary information when users hover over or focus on a UI element, typically buttons or icons.

Usage

Tooltips are overlay components that briefly appear over other content to provide additional context. They are triggered by hover or focus, making them particularly useful for desktop interactions. Since tooltips are temporary and generally not accessible on touch devices, they should not contain critical or primary information.

Tooltip

When to use

  • To clarify an element’s function or provide extra context for icons or buttons.
  • For supplementary, non-essential information only.

Best practices for Tooltips

  • Keep text brief.
  • Text should rarely exceed min. width of tooltip display box.
  • Tooltips are display-only and must not contain clickable elements.
  • Use sparingly. Avoid overloading the interface with too many tooltips.
  • Use tooltips only on interactive, keyboard-focusable elements to ensure accessibility.
  • When implementing tooltips on touch devices, ensure they appear on tap and that this interaction does not conflict with other functionalities.

Except where otherwise noted, content on this site is licensed under MIT License.