Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/checkbox-group.md
1# CheckboxGroup23A set of checklist buttons to select multiple option from a list.45> Based on [Reka UI CheckboxGroup](https://reka-ui.com/docs/components/checkbox#group-root)67## Key Props89- `items`: as an array of strings or numbers:1011## ::component-code1213prettier: true14ignore:1516- modelValue17- items18external:19- items20- modelValue21props:22modelValue: - 'System'23items: - 'System' - 'Light' - 'Dark'2425---2627::2829You can also pass an array of objects with the following properties:3031- `label?: string`{lang="ts-type"}32- `description?: string`{lang="ts-type"}33- [`value?: string`{lang="ts-type"}](#value-key)34- `disabled?: boolean`{lang="ts-type"}35- `class?: any`{lang="ts-type"}36- `ui?: { item?: ClassNameValue, container?: ClassNameValue, base?: ClassNameValue, 'indicator'?: ClassNameValue, icon?: ClassNameValue, wrapper?: ClassNameValue, label?: ClassNameValue, description?: ClassNameValue }`{lang="ts-type"}3738## ::component-code3940ignore:4142- modelValue43- items44external:45- items46- modelValue47externalTypes:48- CheckboxGroupItem[]49props:50modelValue: - 'system'51items: - label: 'System'52description: 'This is the first option.53- `legend`: to set the legend of the CheckboxGroup.54- `color`: to change the color of the CheckboxGroup.55- `variant`: to change the variant of the CheckboxGroup.56- `size`: to change the size of the CheckboxGroup.57- `orientation`: to change the orientation of the CheckboxGroup.58- `indicator`: to change the position or hide the indicator.59- `disabled`: to disable the CheckboxGroup.6061## Usage6263```vue64<UCheckboxGroup65<!-- props here -->66/>67```68