Skip to content
Saeede Agahi

Tooltip

BetaBatch A. A short text label that appears on hover and keyboard focus.

When to use

Use to name an icon-only button or to add a short hint.

When not to use

Don't put essential information or links in a tooltip. Tooltips are easy to miss and hard to use on touch screens.

Anatomy

  1. Trigger (any focusable element that accepts a ref, such as Button)
  2. Popup with text

Variants

One style. It opens on the top by default, or bottom, left or right.

States

Tooltip states
StateWhen
ClosedDefault.
Open600ms after the pointer rests on the trigger, or right away on keyboard focus.
ClosingWhen the pointer leaves, focus moves away, or Escape is pressed.