UxToggleCard

components/ux/ToggleCard.vue

Radio/checkbox card with highlighted border on selection, label, and description.

selected: starter
components/ux/ToggleCard.vue

Usage

<UxToggleCard label = "—" description = "—" :disabled = "false" > Content here </UxToggleCard>

Props

PropTypeDefaultDescription
labelString''Card heading
descriptionString''Subtitle text
disabledBooleanfalseDisable interaction

Slots

SlotDescription
defaultRadio or checkbox input (sr-only peer)
contentAdditional card content
logobugLogo or icon area

Related