Tooltip
A short label on hover or focus, with an optional keyboard shortcut.
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
TooltipContent
| Prop | Type | Default |
|---|---|---|
| shortcutextra | ReactNodeKeyboard shortcut shown after the label. | - |
| side | "top" | "right" | "bottom" | "left"Preferred side. | "top" |
- Tab
- Focus on the trigger opens the tooltip.
- Esc
- Closes it.