easeUI

Tooltip

Tooltip that shows a label with its keyboard shortcut, using Command on Mac and Ctrl elsewhere. Moving along a toolbar crossfades to the next tooltip with no delay.

Installation

$ bunx --bun shadcn add @easeui/tooltip
In easeUI ProElastic TooltipA tooltip that springs out of its trigger and flips sides when it runs out of room.See it

API reference

PropTypeDefaultDescription
labelstring-Short text describing what the trigger does.
shortcut?{}-Keyboard shortcut keys. Use "mod" for Command on Mac and Ctrl everywhere else.
side?"top" | "bottom"topShow the tooltip above or below the trigger. Default "top".
delay?number300Delay before the first tooltip opens, in ms. Default 300.
className?string--
childrenReactElement-A single focusable element, usually a button.