Skip to content

Tooltip

A visual label for an icon-only button, on hover and keyboard focus. The button keeps its own aria-label; tooltips don't open on touch.

Sourcecomponents/tooltip.tsx

Usage

When to use

Use when

A visual label for an icon-only button that already has a matching aria-label. Wrap toolbars in TooltipProvider

Don’t use when

Anything people need to read: it doesn't open on touch (use inline text or Popover)