bloxa

Tooltip

FREE

Short label on hover and focus, with shortcut keys, an arrow and shared delays.

Installation

Terminal
npx @bloxa/cli add tooltip
# or: npx shadcn@latest add @bloxa/tooltip

Packages installed automatically: radix-ui

Examples

Toolbar with shortcuts

Once one is open, moving to the next opens it instantly.

Sides

API reference

Every component also accepts the props of the element it renders.

Tooltip

PropTypeDefaultDescription
contentReactNode—What the tooltip says.
shortcutstring[]—Shortcut keys after the text.
side"top" | "right" | "bottom" | "left""top"Which side it opens on.
showArrowbooleantrueShow the arrow.
delayDurationnumber400Delay before opening, in ms.

TooltipProvider

Wrap the app once; delays are shared across tooltips.

PropTypeDefaultDescription
skipDelayDurationnumber300Window in which the next tooltip opens without delay, in ms.