Buttons
Tooltip
A contextual text bubble that displays a description for an element which appears on interaction.
API Reference
Section titled API ReferenceRoot
Section titled RootA contextual text bubble that displays a description for an element that appears on pointer hover or keyboard focus.
Props
Section titled PropsTrigger
Section titled TriggerHTMLAttributes
Ref<HTMLButtonElement>
Wraps the element that will trigger showing/hiding the tooltip on hover or keyboard focus. The tooltip content is positioned relative to this element.
Props
Section titled PropsData Attributes
Section titled Data AttributesContent
Section titled ContentHTMLAttributes
Ref<HTMLElement>
This component contains the content that is visible when the tooltip trigger is interacted with.
Props
Section titled PropsData Attributes
Section titled Data AttributesPrevious
Next