Tooltip

Tooltip

Components

A customized popup that displays informative text when users hover over, focus on, or tap an element.

Contextual Tooltip

Delivers brief, helpful context for icon buttons, truncated labels, or technical telemetry data without adding visual clutter to the primary interface.

Props Reference

PropTypeDefaultDescription
contentstring"Copy API token to clipboard"Descriptive text string rendered inside the bubble
side"top" | "bottom""top"Placement position relative to the anchor trigger
childrenReact.ReactNodeundefinedInteractive trigger element wrapped by the tooltip

Accessibility & Keyboard Navigation

  • Focus Accessibility: Appears automatically on keyboard focus and disappears on blur.
  • Escape Key: Pressing Escape immediately dismisses the active tooltip without moving focus.
  • ARIA DescribedBy: Associates the trigger with the tooltip popup via role="tooltip" and matching identifiers.