Tooltip
A floating informational popup that appears on hover or focus, providing contextual help or descriptions.
Installation
npx chilli@latest add tooltipDefault
API Reference
Tooltip
| Prop | Type | Default | Description |
|---|---|---|---|
content | ReactNode | — | The content displayed inside the tooltip. |
side | "top" | "right" | "bottom" | "left" | "top" | The preferred side of the trigger to display. |
delayDuration | number | 200 | Delay in ms before the tooltip appears. |
children | ReactNode | — | The trigger element. |