GitHubnpm

Accent theme

Base radius

GitHubnpm

Accent theme

Base radius

Colour scheme

Docs menu

Guides


Primitives
Forms
Layout
Feedback
Overlays
Navigation
Data Display
AI

Tooltip

Uses the Popover API (popover="manual") for top-layer stacking, positioned with CSS anchor positioning where it's supported, falling back to a computed position otherwise. Hover and focus show and hide it; interestfor is declared on the trigger too, as a forward-looking, purely additive enhancement for the emerging native hover-intent API.

Playground

Toggle every adjustable prop and watch the component — and the code — update live.

Unstyled

Same component — Kernel look stripped. See Platforms.

placement
align
arrow
Usage
<Tooltip content="Copies the current URL" render={<Button variant="secondary">Share</Button>} />

Props

Props for Tooltip.
PropTypeDefault
contentReactNode (required)
renderthe trigger element (required)
renderContentRenderProp — replace the popup
classNamestring | (state) => string
placement"top" | "bottom" | "left" | "right""top"
align"start" | "center" | "end""center"
offsetnumber (px)8
openDelaynumber (ms)0
closeDelaynumber (ms)0
arrowbooleanfalse
renderArrowRenderProp

Composition

The popup exposes data-slot="tooltip-content",data-placement, data-align, data-open,data-opening, and data-closing. SetcloseDelay so the pointer can travel from the trigger into rich content without the tooltip closing underneath it.