Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mui/base-ui/llms.txt
Use this file to discover all available pages before exploring further.
Tooltip
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
Import
import * as Tooltip from '@base-ui/react/tooltip';
Tooltip.Provider
Provides shared state to multiple tooltips to ensure only one is open at a time.
Props
Tooltip.Root
Groups all parts of the tooltip. Doesn’t render its own HTML element.
Props
Tooltip.Trigger
The element that triggers the tooltip.
Tooltip.Positioner
Positions the tooltip popup relative to the trigger.
Props
The tooltip’s content.
Tooltip.Arrow
An optional arrow element that points toward the trigger.
Props
Tooltip.Portal
Portals the tooltip popup to a different part of the DOM.
Props