Skip to content

GhostTooltip reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed wrapper around headless GhostTooltip, GhostTooltipTrigger, and GhostTooltipContent. Importing from @ghostvue/themes loads the default elevation-2 tooltip surface stylesheet.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
openboolean—NoControlled open state forwarded to headless GhostTooltip.
defaultOpenbooleanfalseNoInitial open state when open is omitted.
delayDurationnumber—NoShow delay forwarded to headless GhostTooltip; inherits from GhostTooltipProvider when omitted.
closeDelaynumber300NoHide grace delay forwarded to headless GhostTooltip.
disableHoverableContentbooleanfalseNoImmediate hide on leave when true.

Emits ​

None declared.

Models ​

PropEventTypeDescription
openupdate:openbooleanv-model:open binding for controlled state.

Slots ​

NameDescription
defaultGhostTooltipTrigger and GhostTooltipContent parts.

Slot props: default ​

NameTypeDescription
openbooleanCurrent open state.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partcontentThemed .ghost-tooltip-content with data-themed.
data-stateopendata-state on trigger and content while visible.

CSS variables ​

NameDescription
--ghost-elevation-2-bgTooltip surface background.
--ghost-elevation-2-borderTooltip hairline border.
--ghost-type-size-smCompact tooltip type size.

Accessibility ​

Role: tooltip. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/.

Required ARIA attributes: aria-describedby.

Keyboard ​

KeyActionAutomated browser test
EscapeDismisses the tooltip without moving focus.Not reviewed

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

tooltip/basic ​

Example source

Supplemental label Headless

Icon-only trigger with delay timing, floating placement, and aria-describedby.

tooltip/themed ​

Example source

Dashboard action tips

Deploy actions and a metric help button whose tooltips open on hover or keyboard focus, share provider timing, and hide on Escape.

Production edgeHealthy
Latency p95
42 ms
Hover or Tab to a control for details. Press Escape to hide a tip.