Skip to content

GhostCommandPaletteTitle reference ​

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

Accessible palette name (h2 by default) linked to the content with aria-labelledby, and reused as the input name when the input has none. Visually hide it for icon-only designs; there is no hidden default title.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostCommandPaletteTitleElement"h2"NoTag name or component rendered for the palette heading.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultPrimary content.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidExposed method `blur`.
elementHTMLElement | nullExposed property `element`.
focus(options?: FocusOptions) => voidExposed method `focus`.

Parts and data attributes ​

AttributeValueDescription
data-parttitleHeading with class ghost-command-palette-title and data-part="title".

CSS variables ​

None declared.

Accessibility ​

Role: heading. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/.

Required ARIA attributes: none.

Keyboard ​

None declared.

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 ​

None declared.