Skip to content

GhostCheckboxGroup reference ​

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

Themed wrapper around headless GhostCheckboxGroup with fieldset reset and vertical stack spacing. Adds no visual props or per-component tokens.

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
defaultMember checkboxes, labels, legend, descriptions, and non-member content.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidBlurs the active member if it is inside the group. Delegates to the unstyled GhostCheckboxGroup.
elementHTMLElement | nullThe group root element after mount; null before mount. Delegates to the unstyled GhostCheckboxGroup.
focus(options?: FocusOptions) => voidFocuses the first enabled checked member in DOM order, else the first enabled member. Delegates to the unstyled GhostCheckboxGroup.

Parts and data attributes ​

AttributeValueDescription
data-partrootThe group fieldset or host inside the display:contents themed scope.
data-stateinvalidGroup-level error state.
data-statedisabledWhole group disabled.

CSS variables ​

NameDescription
--ghost-space-stack-smVertical stack gap between group children and space below the direct legend.
--ghost-text-defaultDirect legend text color.
--ghost-type-size-mdDirect legend font size.
--ghost-type-weight-semiboldDirect legend font weight.
--ghost-type-line-tightDirect legend line height.

Accessibility ​

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

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 ​

checkbox-group/notification-preferences ​

Example source

Notification preferences

Themed notification preferences with array v-model, mixed select-all, locked choice, and FormData.getAll readout.

Email notifications

Choose what reaches ada@analytical-engines.example.

Project activity

Updates from projects you follow.

Account

Security and billing for you.

Model
["mentions","assignments","security"]
FormData
Submit to inspect getAll("notifications")

checkbox-group/room-extras ​

Example source

Room extras

Booking extras as GhostCheckboxCard choices, each its own tab stop, with the array model.

Extras

Extras: breakfast

checkbox-group/basic ​

Example source

Basic

Themed checkbox group with a legend and three visible options.

Release updates

Selected: email

checkbox-group/form ​

Example source

Form reset

Native form submission and reset restoring the default selection.

Export columns

Model: ["id","total"]

checkbox-group/field ​

Example source

Error state

Group-level invalid state and error text linked via aria-describedby.

API token scopes

Select at least one permission for this token.

Choose at least one token scope before generating a key.