Tooltip
Centered contextual hints on the top, right, bottom or left.
Add to library
Placement
Add to library
Add to library
Add to library
Add to library
Hover, focus or tap a button. Press Escape to close.
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Tooltip, TooltipAdvanced from "@rightui/ui"
Usage
Use Tooltip for a top hint, or TooltipAdvanced with side and reduced to select placement and respect reduced motion.
Keyboard
Hover, tap or focus the trigger to show the hint. Escape dismisses it; moving focus away closes it.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
Tooltip.id
string
Tooltip.label
string
Tooltip.description
string
TooltipAdvanced.id
string
TooltipAdvanced.label
string
TooltipAdvanced.description
string
TooltipAdvanced.side
string
TooltipAdvanced.reduced
bool