Skip to content

GhostMenubar reference ​

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

Themed wrappers around headless GhostMenubar parts. Importing from @ghostvue/themes loads the default menubar, elevation-3 menu surface, and item stylesheet.

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

All component references

Props ​

None declared.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultContainer content.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullRoot element after mount; null before mount.

Parts and data attributes ​

AttributeValueDescription
data-partrootNeutral content container.

CSS variables ​

NameDescription
--ghost-surface-fgInherited text color.

Accessibility ​

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

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 ​

Example source

Basic Headless

Headless menubar with items, checkbox, radio group, label, separator, and disabled item.

Example source

Editor commands

Create, duplicate, or export a document from a File, Edit, and View menubar; the document name and status line show each command.

release-notes.md Use ArrowLeft / ArrowRight across menus, ArrowDown to open.
Ready — Word wrap on · Line numbers on · Comfortable layout