A short label that appears when an element is hovered or focused.
defaultOpen | boolean | false | Whether the tooltip is initially open. To render a controlled tooltip, use the |
defaultTriggerId | string|null | – | ID of the trigger that the tooltip is associated with. This is useful in conjunction with the |
disabled | boolean | false | Whether the tooltip is disabled. |
disableHoverablePopup | boolean | false | Whether the tooltip contents can be hovered without closing the tooltip. |
handle | TooltipHandle<Payload> | – | A handle to associate the tooltip with a trigger. If specified, allows external triggers to control the tooltip's open state. Can be created with the Tooltip.createHandle() method. |
onOpenChange | ((open: boolean, eventDetails: TooltipRootChangeEventDetails) => void) | – | Event handler called when the tooltip is opened or closed. |
onOpenChangeComplete | ((open: boolean) => void) | – | Event handler called after any animations complete when the tooltip is opened or closed. |
open | boolean | – | Whether the tooltip is currently open. |
trackCursorAxis | "none"|"both"|"x"|"y" | 'none' | Determines which axis the tooltip should track the cursor on. |
triggerId | string|null | – | ID of the trigger that the tooltip is associated with. This is useful in conjunction with the |
Tooltip$1.Positioner.Props["anchor"] |
| – |
An element to position the popup against. Defaults to the trigger. |
hideArrow | boolean | false | Whether to hide the arrow that points at the trigger. |
side | "top"|"bottom"|"left"|"right"|"inline-end"|"inline-start" | top | Which side of the copy button the tooltip and toast open on. |
sideOffset | number|OffsetFunction | 10 | The gap between the trigger and the calendar, in pixels. |
number| – |
How long to wait before opening the tooltip on hover. Specified in milliseconds. |
timeout | number | 400 | Another tooltip will open instantly if the previous tooltip is closed within this timeout. Specified in milliseconds. |
trueWhether the tooltip should close when this trigger is clicked. |
delay | number | 600 | How long to wait before opening the tooltip on hover. Specified in milliseconds. |
disabled | boolean | false | If |
handle | TooltipHandle<unknown> | – | A handle to associate the trigger with a tooltip. |
payload | unknown | – | A payload to pass to the tooltip when it is opened. |