Radio

Choose exactly one option from a related group.

Radio

Default

Add the radio type input with the component <s-radio />

Code copied

Color

Use the color prop to change the base color of a component and supported child elements. See theme configuration for color and theme details.

Supported values:

  • primary
  • success
  • danger
  • warning
  • dark
  • RGB
  • HEX
Code copied

Label New

Add a label to the radio with the default slot, if you need the label to be before the radio you can use the label-before property

Code copied

Loading New

Add a loading animation to the component, when the radio has this property active it is as if it were in disabled

Code copied

Icon New

Add an icon inside the radio with the icon slot

Code copied

API

PROPS

PropertyTypeValuesDescriptiondefaultExampleMore
v-model / model-valueString | Number | Booleanselected radio valueBind the selected value for the radio or radio group.-
colorStringTheme colorsRGBHEXChange the color of the radio.primary
disabledBooleantruefalseDetermine if the component is in the disabled state.
loadingBooleantruefalseDetermine if the component has a loading animation and is disabled.
valStringStringDetermine the value of the radio input.
No matching data

SLOTS

PropertyTypeValuesDescriptiondefaultExampleMore
defaultslotAdd a label to the component.
iconslotAdd an icon inside the radio.
No matching data
Last Updated: 2026-08-17, 08:33:54