Skip to content

co-radio

This content is not available in your language yet.

Ver código
<co-radio label="Opción A" value="a" name="demo"></co-radio>
<co-radio label="Opción B" value="b" name="demo"></co-radio>

Props

PropAtributoTipoDefaultDescripción
checkedcheckedbooleanfalseWhether the radio is selected
disableddisabledbooleanfalseDisabled state
labellabelstring | undefinedLabel text displayed beside the radio circle
sizesize"large" | "small"'small'Size: small=16px, large=24px
valuevaluestring''Value for radio group usage

Eventos

EventoDetailBubblesCancelableDescripción
coChangestringFired when selected

Slots

Este componente no expone slots.

CSS Parts

PartDescripción
::part(circle)
::part(label)

CSS Custom Properties

Este componente no expone CSS custom properties.