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.
Props
None declared.
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Item label. |
Slot props: default
None declared.
Exposed members
| Name | Type | Description |
|---|---|---|
element | HTMLElement | null | Headless item element. |
focus | (options?: FocusOptions) => void | Focus the item. |
blur | () => void | Blur the item. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | item | Segmented toggle button. |
data-state | on | Pressed segment. |
CSS variables
| Name | Description |
|---|---|
--ghost-focus-ring-color | Focus 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.
| 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.