Tooltip

Hover or focus tooltip that fades in beside its trigger. After the first one opens, nearby tooltips appear without a delay.

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @easeui/tooltip

API Reference

PropTypeDefaultDescription
contentReactNode--
childrenReactNode-The element the tooltip describes.
side?"bottom" | "left" | "right" | "top"topWhich side of the trigger the tooltip appears on. Default "top".
delay?number200Milliseconds to wait before the first tooltip opens. Default 200.
className?string--
wrapperClassName?string--

Updated