Vibe UI
Initializing Vibe UI System...

Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Preview

Installation

pnpm dlx vibe-ui-kit@latest add tooltip button
💡 Vibe UI Component Dependencies: This component requires other components to work correctlyPlease make sure you also install these Vibe UI component dependencies: button

Variations

Vibe UI's Tooltip component supports multiple visual style presets to match your application's theme:

Examples

Placements

Tooltips can be positioned to open on the top, bottom, left, or right of the trigger element:

Props

PropTypeDefaultDescription
contentReactNodeundefinedThe explanatory message or element displayed inside the tooltip popover.
variant'default' | 'glass' | 'retro' | 'glow' | 'cyberpunk''default'The visual theme preset style of the tooltip popover.
delaynumber200The hover delay duration (in ms) before the tooltip opens.
side'top' | 'bottom' | 'left' | 'right''top'The default placement side of the tooltip relative to its trigger.

Contributors

Theme Customizer

8px
@theme { --radius: 0.5rem; --glass-blur: 8px; }
Changes apply instantly to this documentation workspace.