Components › Overlays
Info tip
A small info icon beside a label that explains it on hover or focus.
Installation
npx plankui@latest add info-tipUsage
import { InfoTip } from "@/components/ui/info-tip";
<InfoTip label="About active users">People who signed in during the last 30 days.</InfoTip>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | required | The explanation, a sentence or two. |
| label | string | "More information" | What the tip explains, for screen readers. |
| side | "top" | "right" | "bottom" | "left" | "top" | Where the tip opens. |