Tooltip

Tooltips display brief labels or messages.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | Partial<Record<"container" | "content" | "actions" | "supportingText" | "toolTip" | "subHead", string>> | ClassNameComponent<TooltipInterface>No—Root classes (string), static element classes (object), or state-aware element classes (function).
idstringNo—Custom ID for accessibility linking. Auto-generated if not provided.
titlestringNo—Headline of a rich tooltip.
variantTooltipVariantNo'plain'`'plain'` is a small text bubble; `'rich'` is a card-like surface with title/text/actions.
textstringNo—Supporting text for the tooltip.
positionAnchorPositionNo—Placement relative to the target. Defaults to `bottom-right` for `variant="rich"`, `bottom` otherwise; tooltips inside a Toolbar use `auto`.
autoAxisAnchorPositionAxisNo—Axis used when `position="auto"`. Defaults to `vertical`; Toolbar descendants derive it from their orientation.
triggerTooltipTrigger | TooltipTrigger[]No['hover', 'focus']Interaction(s) that open the tooltip.
describeTargetbooleanNotrueWhether the open tooltip describes its target through `aria-describedby`.
openDelaynumberNo400Delay in milliseconds before showing the tooltip. Default: 400ms
closeDelaynumberNo150Delay in milliseconds before hiding the tooltip. Default: 150ms
openbooleanNo—Controlled open state.
defaultOpenbooleanNofalseInitial open state when uncontrolled.
transitionTooltipTransitionNo—Anime.js opacity/scale open-close timing. Shared by every framework, no `motion/react`.
contentReactNodeNo—Custom content slot that replaces title/text/buttons when provided
anchorRefRefObject<HTMLElement>No—Custom anchor for positioning. Defaults to the trigger element.
onOpenChange(open: boolean) => voidNo—Notifies an accepted open-state request.