VInputGroupRadio

The VInputGroupCheckbox component is a wrapper for VInputCheckbox.

My group input checkbox
<VInputGroupCheckbox v-model="checkbox" name="checkbox" label="My group input checkbox">
<VInputCheckbox value="dog" label="I have a dog" />
<VInputCheckbox value="cat" label="I have a cat" />
</VInputGroupCheckbox>

Preset customization

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

InputGroupCheckboxConfig.config.ts
export interface InputGroupCheckboxConfig extends DefaultConfig {
FormGroup?: FormGroupConfig,
slot: MethodOrStringType
}

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

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