Skip to content

GhostToggleGroupItem reference ​

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

Themed toggle item with segmented pressed styles.

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
defaultItem label.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullHeadless item element.
focus(options?: FocusOptions) => voidFocus the item.
blur() => voidBlur the item.

Parts and data attributes ​

AttributeValueDescription
data-partitemSegmented toggle button.
data-stateonPressed segment.

CSS variables ​

NameDescription
--ghost-focus-ring-colorFocus ring on items.

Accessibility ​

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

Required ARIA attributes: aria-pressed.

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.