Tooltip
Accessible popup shown on hover/focus. Compose the styled popup parts with a raw base-ui Provider/Root for custom delay or trigger logic.
Tooltip
base-ui docs ↗Accessible popup shown on hover or focus. Automatically positions itself
with an arrow and supports configurable delay, side, and alignment.
| Prop | Type | Default |
|---|---|---|
| content* | ReactNode | — |
Text or rich content shown inside the tooltip popup. | ||
| children* | ReactElement<unknown, string | JSXElementConstructor<any>> | — |
The element that triggers the tooltip on hover/focus. | ||
| delay | number | 400 |
Hover delay in milliseconds before the tooltip appears. | ||
| side | "top" | "bottom" | "left" | "right" | top |
Which side of the trigger the tooltip appears on. | ||
| align | "start" | "center" | "end" | center |
Alignment along the side axis. | ||
Styled Parts
base-ui docs ↗Pre-styled wrappers around the corresponding base-ui parts. All base-ui props are forwarded.
CSS Class Names
Available as keys on the TooltipStyles object. Each key maps to a hashed CSS module class name at runtime.
arrowpopuppositioner