Documentation
Tooltip

Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Dependencies

Usage

Placement

Tooltips can be placed differently.

No Delay

To show the tooltip immediately, set the delayDuration prop to 0 to the TooltipContent component.

Custom Delay

Tooltips have a default delay of 100ms. This can be changed by setting the delayDuration prop to a number in milliseconds to the TooltipContent component.

With Arrow

Tooltip can have an arrow with <TooltipArrow /> component

Examples

With Supporting Text

Use supporting text to provide additional context to the tooltip.

On Icon

Use tooltips on icons to provide additional context.

API Reference

To see the full API of Tooltip component go to Radix Docs (opens in a new tab).