{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/checkbox-09","type":"registry:component","title":"Checkbox 9","description":"Vertical group of checkboxes with icons for fruits selection","dependencies":["lucide-react"],"registryDependencies":["checkbox","label"],"files":[{"path":"src/registry/new-york/components/checkbox/checkbox-09.tsx","content":"import { AppleIcon, CherryIcon, GrapeIcon } from 'lucide-react'\n\nimport { Checkbox } from '@/registry/new-york/ui/checkbox'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst fruits = [\n  { label: 'Apple', icon: AppleIcon },\n  { label: 'Cherry', icon: CherryIcon },\n  { label: 'Grape', icon: GrapeIcon }\n]\n\nconst CheckboxVerticalGroupDemo = () => {\n  return (\n    <div className='space-y-4'>\n      <Label className='font-semibold'>Favorite Fruits</Label>\n      <div className='flex flex-col gap-4'>\n        {fruits.map(({ label, icon: Icon }) => (\n          <div key={label} className='flex items-center gap-2'>\n            <Checkbox id={label} />\n            <Label htmlFor={label}>\n              <Icon className='size-4' aria-hidden='true' />\n              {label}\n            </Label>\n          </div>\n        ))}\n      </div>\n    </div>\n  )\n}\n\nexport default CheckboxVerticalGroupDemo\n","type":"registry:component","target":"components/shadcn-studio/checkbox/checkbox-09.tsx"}]}