Skip to content
RivetUI

Tooltip

Adds a supplementary hint to an already labelled interactive control.

@rivetui/tooltip

Preview

Explore each composition interactively, then open its code in the same context.

Default

Deployment / dpl_8f31c2a

Production gateway

Regioneu-central
StateReady

Placement

Composition

Tooltips supplement an already labelled control. Essential instructions remain visible in the interface.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/tooltip
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

TooltipProvider

PropTypeDefault
delaynumber400
closeDelaynumber80

Tooltip

PropTypeDefault
openboolean—
defaultOpenbooleanfalse
onOpenChange(open: boolean, details) => void—

TooltipContent

PropTypeDefault
side"top" | "right" | "bottom" | "left""top"
align"start" | "center" | "end""center"
sideOffsetnumber8
Rivet UI / TooltipComponents engineered, not decorated.