Skip to content

GhostTabs reference ​

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

Headless tabs root provider. Manages controlled/uncontrolled selection, activation mode, and orientation for APG tab composites.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
activationMode'automatic' | 'manual'"automatic"NoFocus-driven (`automatic`) vs explicit activation (`manual`) tab selection.
defaultValuestring—NoInitial selected value when `modelValue` is omitted.
dir'ltr' | 'rtl'—NoExplicit text direction for roving focus within the tab list.
modelValuestring—NoControlled selected tab value. Omit for uncontrolled mode.
orientation'horizontal' | 'vertical'"horizontal"NoTab list orientation for arrow-key roving and `aria-orientation`.

Emits ​

None declared.

Models ​

PropEventTypeDescription
modelValueupdate:modelValuestringv-model binding for `modelValue`.

Slots ​

NameDescription
defaultContainer content.

Slot props: default ​

NameTypeDescription
modelValuestring | undefinedSlot prop `modelValue`.

Exposed members ​

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

Parts and data attributes ​

AttributeValueDescription
data-partrootNeutral content container.

CSS variables ​

None declared.

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 ​

tabs/basic ​

Example source

Basic Headless

Controlled compound tabs with automatic activation.

Manage your public profile and contact details.

tabs/manual ​

Example source

Manual activation Headless

Tabs activate on click or Enter/Space instead of focus.

Work-in-progress messages stay local.

tabs/vertical ​

Example source

Vertical Headless

Vertical tab list beside its panel, stacking above it in narrow previews.

High-level summary of the current record.

tabs/themed ​

Example source

Themed

Themed strip stacked above its panel, with a disabled tab, from @ghostvue/themes.

Workspace summary and usage snapshots.

tabs/review-sections ​

Example source

Release review sections

Themed vertical workspace tabs with manual activation and a responsive list and panel layout.

Review the release candidate before publishing.