{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "checkbox-group-validation-example",
  "title": "Checkbox Group Validation",
  "description": "checkbox-group-validation-example",
  "dependencies": [
    "react-aria-components"
  ],
  "registryDependencies": [
    "https://intentui.com/r/button",
    "https://intentui.com/r/checkbox",
    "https://intentui.com/r/field"
  ],
  "files": [
    {
      "path": "src/components/examples/forms/checkbox/checkbox-group-validation-example.tsx",
      "content": "'use client'\n\nimport { Form } from 'react-aria-components/Form'\nimport { Button } from '@/components/ui/button'\nimport { Checkbox, CheckboxField, CheckboxGroup } from '@/components/ui/checkbox'\nimport { Label } from '@/components/ui/field'\n\nexport default function CheckboxGroupValidationExample() {\n  return (\n    <Form onSubmit={() => {}} className=\"space-y-6\">\n      <CheckboxGroup isRequired name=\"settings\">\n        <Label>Settings</Label>\n        <CheckboxField value=\"notifications\">\n          <Checkbox>Enable notifications</Checkbox>\n        </CheckboxField>\n        <CheckboxField value=\"auto_update\">\n          <Checkbox>Auto-update applications</Checkbox>\n        </CheckboxField>\n        <CheckboxField value=\"dark_mode\">\n          <Checkbox>Enable dark mode</Checkbox>\n        </CheckboxField>\n        <CheckboxField value=\"location_access\">\n          <Checkbox>Allow location access</Checkbox>\n        </CheckboxField>\n        <CheckboxField value=\"two_factor_auth\">\n          <Checkbox>Enable two-factor authentication</Checkbox>\n        </CheckboxField>\n      </CheckboxGroup>\n      <Button type=\"submit\">Submit</Button>\n    </Form>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/checkbox-group-validation-example/page.tsx"
    }
  ],
  "type": "registry:page"
}