Tooltip
moleculeOn-hover contextual hint anchored to a trigger element. Four directional placements and a configurable show delay.
Placements
Top, bottom, left, and right.
No delay
Instant tooltip — delay set to 0.
Usage
Installation
API Reference
Tooltip props — * required
| Prop | Type | Default | Description |
|---|---|---|---|
content* | string | — | Tooltip message text. |
placement | "top" | "bottom" | "left" | "right" | "top" | Direction the tooltip appears relative to the trigger. |
delay | number | 300 | Milliseconds before the tooltip appears on hover. |
children* | React.ReactNode | — | The trigger element. |