Skip to content

OverlayTooltip ​

A short text that shows on hover and focus.

ts
import { OverlayTooltip } from '@zairakai/vue-components/Overlay'

Usage ​

vue
<OverlayTooltip />

Example ​

Saves the file
vue
<template>
  <OverlayTooltip text="Saves the file">
    <button type="button">Save</button>
  </OverlayTooltip>
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
textstringThe text of the tooltip. Use the content slot for anything richer.
placementstring'top'
offsetnumber8
delaynumber300Milliseconds before a hover shows it. The focus shows it at once.
disabledbooleanfalse

Slots ​

NameDescription
default
content

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.