Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zendeskgarden/website/llms.txt
Use this file to discover all available pages before exploring further.
title attribute instead).
Basic usage
Wrap any focusable element withTooltip and pass the tooltip text via the content prop.
Placement
There are 13 placement options. The Tooltip occupies thetop position by default. auto chooses the placement with the most available space.
placement
'auto' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom'
Controls the preferred position of the tooltip relative to its trigger. Defaults to
'top'.Size
Tooltips come in four sizes:small, medium, large, and extra-large. Only large and extra-large can contain a Tooltip.Title.
Controls the tooltip dimensions. Defaults to
'small'. Use 'large' or 'extra-large' when including a title.Type (light / dark)
Tooltips can belight or dark. Small and medium tooltips default to dark. Large and extra-large tooltips default to light.
The color theme of the tooltip. Small/medium default to
'dark'; large/extra-large default to 'light'.Subcomponents
Tooltip.Title
A bold heading rendered inside a large or extra-large tooltip. Only valid whensize is 'large' or 'extra-large'.
Tooltip.Paragraph
Body text inside a large or extra-large tooltip. Use for multi-sentence descriptions.TooltipDialog
TooltipDialog is a richer popover that supports interactive content — buttons, links, and a focus loop. It is appropriate when a user needs to take action within the tooltip.
Use
TooltipDialog when you need interactive controls inside the popover. For read-only hover text, use Tooltip instead.Basic usage
Placement
There are 13 placement options. The default istop. auto chooses the position with the most available space.
placement
'auto' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom'
Controls the preferred position of the dialog. Defaults to
'top'.Component structure
Accessibility
Tooltipautomatically links its content to the trigger element viaaria-describedby. Do not manually set this attribute.TooltipDialogcreates a focus trap while open, following the ARIA dialog pattern.- Always ensure the trigger element is focusable (a native button or element with
tabIndex={0}) so keyboard users can access the tooltip.