Tooltip
Shortcut-aware hover tooltip.
Loading…
Shortcut-aware hover tooltip.
Loading…
Hover labels with optional keyboard shortcut display.
| Prop | Type | Default | Description |
|---|---|---|---|
| content | ReactNode | — | Tooltip text. |
| shortcut | string | — | Keyboard shortcut badge. |
| children | ReactNode | — | Trigger element. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):