Skip to content

GhostRadioCard reference ​

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

Themed GhostRadioCard: a bordered card on the GhostCard surface tokens, with a doubled primary border and selected tint when chosen, one focus ring on the card, and forced-colors cues that do not rely on backgrounds.

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 ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLLabelElement | nullCard root after mount; null before mount.
inputElementHTMLInputElement | nullInner radio input after mount; null before mount.
focus(options?: FocusOptions) => voidFocus the inner radio.
blur() => voidBlur the inner radio.

Parts and data attributes ​

AttributeValueDescription
data-partrootNative <label> card root. Carries the selected and disabled state.
data-partlabelSpan holding the default slot. The input is named by it through aria-labelledby.
data-partdescriptionSpan holding the description slot, rendered only when the slot is provided. Joins the input's aria-describedby.
data-statecheckeddata-state="checked" on the root while the option is selected. Omitted otherwise.
data-statedisableddata-disabled on the root when the card or the group is disabled. A <fieldset disabled> ancestor does not set it; match :has(> input:disabled) for that case.

CSS variables ​

None declared.

Accessibility ​

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

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.