Skip to content

GhostTabsList reference ​

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

Themed GhostTabsList: the tab strip. Its size sets the height, label size, and padding of every GhostTabsTrigger in it.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostTabsListElement"div"NoTag name or component rendered for the tab list.
size'sm' | 'md' | 'lg'"md"NoHeight, label size, and padding of every trigger in the list from `control.size.<size>`, matching a GhostButton or GhostInput of the same size. Panels keep their padding at every size. The default omits data-size so CSS can treat a missing hook as md.

Emits ​

None declared.

Models ​

None declared.

Slots ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullTab list element after mount; null before mount.
focus(options?: FocusOptions) => voidFocus the tab list element.
blur() => voidBlur the tab list element.

Parts and data attributes ​

AttributeValueDescription
data-partlistTab strip; triggers inherit its size.
data-sizesm, lgControl size on the tab list. Absent for the default md size.

CSS variables ​

None declared.

Accessibility ​

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

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.