RadioGroup (单选组)
单选组(v-model + options),支持经典 / 卡片变体。
基础用法
Framework
Basic.vue
属性
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| modelValue * | T | — | |
| options * | readonly KunRadioOption<T>[] | — | |
| ariaLabel | string | "" | |
| className | string | "" | |
| color | KunUIColor | "primary" | |
| disabled | boolean | false | |
| error | string | "" | |
| label | string | "" | |
| orientation | KunRadioOrientation | "vertical" | |
| rounded | KunUIRounded | undefined | |
| size | KunUISize | "md" | |
| variant | KunRadioVariant | "classic" |