Tooltip

Floating tooltip with spring-based animations, configurable placement, and rich content support.

Installation

Installs the Base UI flavor. Switch in the right panel.

Basic

Inspect

Placement

Inspect

Rich Content

Inspect

Delay

Inspect

API Reference

PropTypeDefaultDescription
contentReactNode—The content displayed inside the tooltip.
childrenReactElement—The trigger element. Must accept a ref.
side"top" | "right" | "bottom" | "left""top"Preferred side of the trigger to render the tooltip.
sideOffsetnumber8Distance in pixels between the tooltip and the trigger.
delayDurationnumber200Milliseconds to wait before showing the tooltip on hover.
classNamestring—Additional classes applied to the tooltip content container.