# Default
Documentation Vuesax 4.0+
These documents refer to the latest version of vuesax (4.0+), to see the documents of the previous versions you can do it here 👉 Vuesax 3.x
Add the radio type input with the component <vs-radio />
Documentation Vuesax 4.0+
These documents refer to the latest version of vuesax (4.0+), to see the documents of the previous versions you can do it here 👉 Vuesax 3.x
Add the radio type input with the component <vs-radio />
Use the color property to change the base color of the component and some of the child components, to better understand the handling of colors and themes you can see ithere
Allowed values ​​are:
primarysuccessdangerwarningdarkRGBHEXAdd 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
Add a loading animation to the component, when the radio has this property active it is as if it were in disabled
| Property | Type | Values | Description | default | Example | More |
|---|---|---|---|---|---|---|
| color | String | Vuesax Colors RGB HEX | Change the color of the radio. | primary | Usage Open Close | |
| ||||||
| disabled | Boolean | truefalse | Determine if the component is in the disabled state. | false | Usage Open Close | |
| ||||||
| loading | Boolean | truefalse | Determine if the component has a loading animation and is disabled. | false | Usage Open Close | |
| ||||||
| val | String | String | Determine the value of the radio input. | Usage Open Close | ||
| ||||||
| Property | Type | Values | Description | default | Example | More |
|---|---|---|---|---|---|---|
| default | slot | Add a label to the component. | Usage Open Close | |||
| ||||||
| icon | slot | Add an icon inside the radio. | Usage Open Close | |||
| ||||||