Tooltip
v1.0.2Updated 20 Jul 2026Hover / focus hint floating above an element (Radix). Adds rich content support, a keyboard-shortcut hint slot (Kbd), tonal variants, and an interactive (hover-stay) mode that keeps the tooltip open when hovered.
Preview
Live · 15 stories▸Why this is recommendedtooltiphinthoverkbd+2
The default, out-of-the-box Tooltip.
- ✓Icon button labels
- ✓Truncated text hints
- ✓Keyboard shortcut display
- ✓Icon buttons with shortcut hints
- ✓Help bubbles with rich content
- ✓Tonal context messages
- Configurable delay
- Positioning
- Disabled on touch by default
- Rich body content (paragraphs, lists, code)
- Keyboard-shortcut hint slot using Kbd
- Tonal variants
- Interactive mode keeps tooltip open on hover
- Configurable max-width + clamping
- Arrow toggle
- ✕Important info — invisible to touch users (put it in the UI)
- ✕Modals (use Dialog)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
contentTooltip body. WARNING: this renders on an INVERTED surface (bg-foreground/text-background), so markup styled with theme colour tokens goes invisible — text-foreground and text-muted-foreground paint dark-on-dark, and Badge tones do too. Use weight and opacity for hierarchy, draw chips from `current`, and see the Tooltip caveats from get_component. MCP feedback fb_24359912.
—toneTone colour
—interactiveStay open when hovered
—kbdKeyboard shortcut keys
—arrowShow pointer arrow
—Every tonal component shares the same tone × emphasis API, so the pair looks identical across Button, Badge, Alert and more.