Tooltip
Live example
Tooltip
Installation
npx shadcn@latest add https://hextech-ui.vercel.app/r/tooltip.jsonAPI reference
These are the main Tooltip options. See the exported TypeScript types for inherited native or primitive props.
| Prop | Type | Default |
|---|---|---|
delay | number (provider, milliseconds) | Base UI default |
side | top | bottom | left | right | top |
Accessible help
Keep essential information in visible text. A tooltip supplements its trigger; it does not replace an icon button’s accessible name. TooltipProvider configures shared timing. Verify both hover and keyboard focus.