infotip API
overlays/infotip.tsx
Infotip
Props
| Prop | Type | Default | Description |
|---|---|---|---|
description* | React.ReactNode | — | Tip body content. |
placement | "top" | "right" | "bottom" | "left" | undefined | top | Preferred side for the tip. |
widthClassName | string | undefined | — | Width constraint override for the bubble (e.g. 'max-w-xs'). |
size | TooltipSize | "sm" | "md" | "lg" | "xl" | undefined | md | Tooltip size preset. Default comfortable. |
Show native HTML props
Native HTML Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | undefined | — | Bold heading in the tip; also names the trigger for assistive tech. |
className | string | undefined | — |