VInputGroupRadio

The VInputGroupRadio component is a wrapper for VInputRadio.

My group input radio
<VInputGroupRadio v-model="radio" name="radio" label="My group input radio">
<VInputRadio :value="false" label="No" />
<VInputRadio :value="true" label="Yes" />
</VInputGroupRadio>

Preset customization

The VInputGroupRadio preset configuration interface extends the DefaultConfig interface, which is explained in detail here.

InputGroupRadioConfig
export interface InputGroupRadioConfig extends DefaultConfig {
FormGroup?: FormGroupConfig,
slot: MethodOrStringType
}

Here the exemple from the default InputGroupRadio.config.ts vunix preset which is built on top of Tailwind CSS.

InputGroupRadio.config.ts
const config = {
slot: 'flex flex-col gap-y-2'
} as InputGroupRadioConfig;