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.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostTabsListElement | "div" | No | Tag name or component rendered for the tab list. |
size | 'sm' | 'md' | 'lg' | "md" | No | Height, 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
| Name | Type | Description |
|---|---|---|
element | HTMLElement | null | Tab list element after mount; null before mount. |
focus | (options?: FocusOptions) => void | Focus the tab list element. |
blur | () => void | Blur the tab list element. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | list | Tab strip; triggers inherit its size. |
data-size | sm, lg | Control 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.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.