The Tooltip shows a short label on hover or focus. Wrap your app (or the demo area) in TooltipProvider, then compose Tooltip, TooltipTrigger, and TooltipContent.
Preview
Usage
Installation
$ npx shadcn@latest add https://spark-ui-olive.vercel.app/r/tooltip.json
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
delayDuration | number | 700 | TooltipProvider only: delay in ms before tooltips open. |
sideOffset | number | 4 | TooltipContent only: distance from the trigger. |
className | string | — | Additional CSS classes. |