Toggle Sidebar B
header.lightDarkMode D

Tooltip

Small floating label that appears on hover or focus. Use for icon button names and brief shortcut hints.

Default

Wrap an element in TooltipTrigger.

Sides

Anchor on top / right / bottom / left.

API Reference

Props, events, and slots for each sub-component.

TooltipProvider

Props

PropTypeDefaultDescription
delayDurationnumber700Hover delay before showing.
skipDelayDurationnumber300Window during which the next tooltip skips the delay.

Tooltip

Props

PropTypeDefaultDescription
openbooleanOpen state. Supports v-model:open.

Events

EventDescription
update:openFires when the tooltip shows or hides. Enables v-model:open.

TooltipTrigger

Props

PropTypeDefaultDescription
asChildbooleanfalseMerge props onto the child element instead of a wrapper.

TooltipContent

Props

PropTypeDefaultDescription
side"top" | "right" | "bottom" | "left""top"Anchor side.
sideOffsetnumber4Gap from the trigger in px.

Accessibility

Keyboard shortcuts and ARIA behavior.

Keyboard

ShortcutDescription
TabMoving focus onto the trigger shows the tooltip.
EscDismisses the tooltip while it is open.
  • Opens on keyboard focus, not only on pointer hover, so keyboard users get the same hint.
  • The tooltip content is non-focusable and is linked to the trigger via aria-describedby.