A floating label to explain additional context in the UI. They're triggered by interaction events like hover, focus, tap, or click.
Tooltips provide supplementary context about the element or workflow it's related to. Tooltip content should be informative and helpful but not serve as the primary source of information. Avoid redundant text.
When using the Tooltip, ensure it contains only static content. For more information on Tooltips and interactive elements, see Interactive Elements in Accessibility.
Tooltips and Popovers both display content within a small, floating overlay. While similar, they are not interchangeable and each have their own separate use cases:
Keep the arrow visible to clearly associate the Tooltip with its trigger. This is especially helpful when multiple elements each have their own Tooltip.
Choose a placement that avoids obscuring related content. The Tooltip automatically repositions when it would overflow the viewport but starting with a thoughtful default reduces visual shifting.
The arrow is displayed by default to visually connect the Tooltip to its trigger. The arrow can be hidden when the Tooltip's trigger association is evident.
The default arrow connects the Tooltip to its trigger.
Arrows may be removed for a cleaner look in denser layouts.
When the Tooltip trigger must exist as inline text, we recommend using the underlined style to make the trigger more visually distinct.
The default trigger renders as inline text, blending with surrounding content.
An underlined trigger makes the interactive element more visually distinct within body text.
In its resting state, the trigger is interactive and the Tooltip overlay is hidden.
The Tooltip becomes visible when the user hovers over or focuses the trigger.
When disabled, the Tooltip will not display with the trigger is interacted with.
Tooltips animate in and out with a subtle fade and directional slide, where the direction matches the Tooltip's placement. The default transition duration is 125ms and can be customized with a component property.
Tooltips appear after a 250ms hover delay by default to prevent accidental activation during normal mouse movement. This delay can be adjusted as needed.
Tooltips can be positioned on any side of their trigger. The position is not a guaranteeāsmaller viewports may cause the Tooltip to reposition as needed to remain visible to the user.
Bottom positioning is the default.
Positions the Tooltip above the trigger.
Positions the Tooltip to the right of the trigger.
Positions the Tooltip to the left of the trigger.
When using multiple Tooltips close together are placed within a Tooltip Group, they will share open and close animation timing and delay. When one Tooltip in the group is opened, others will open immediately when interacted with.
When one Tooltip in the group is already open, hovering another trigger opens it immediately without the usual delay.
Tooltip content should describe what the element is or does. Write as a full sentence with a period in sentence case.
Tooltips are intended to be short and informative. Limit content to short phrases or a single sentence. Longer content risks obstructing other elements in the UI.
If more information is needed, we recommend adding the content to the page directly or consider using the Popover component.
When using tooltips on icon-only buttons, describe the action the button performs.
For short phrases or descriptions, write Tooltip text in sentence case.