Skip to content

GhostMenubar reference ​

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

Horizontal menubar with a single top-level Tab stop and support for nested action menus.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
asComponent | string"div"NoDeclared prop `as`.
dir'ltr' | 'rtl'—NoDeclared prop `dir`.

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-partrootHorizontal container for top-level menu triggers.

CSS variables ​

None declared.

Accessibility ​

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

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