{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tailwind-checkboxgroup",
  "type": "registry:ui",
  "title": "CheckboxGroup",
  "dependencies": [
    "react",
    "react-aria-components",
    "tailwindcss-react-aria-components",
    "tw-animate-css"
  ],
  "registryDependencies": [
    "https://react-aria.adobe.com/registry/tailwind-field.json",
    "https://react-aria.adobe.com/registry/tailwind-utils.json"
  ],
  "files": [
    {
      "path": "components/ui/CheckboxGroup.tsx",
      "type": "registry:ui",
      "content": "'use client';\nimport React, {type ReactNode} from 'react';\nimport {\n  CheckboxGroup as AriaCheckboxGroup,\n  type CheckboxGroupProps as AriaCheckboxGroupProps,\n  type ValidationResult\n} from 'react-aria-components/CheckboxGroup';\nimport {Description, FieldError, Label} from '@/registry/react-aria/ui/Field';\nimport {composeTailwindRenderProps} from '@/registry/react-aria/lib/react-aria-utils';\n\nexport interface CheckboxGroupProps extends Omit<AriaCheckboxGroupProps, 'children'> {\n  label?: string;\n  children?: ReactNode;\n  description?: string;\n  errorMessage?: string | ((validation: ValidationResult) => string);\n}\n\nexport function CheckboxGroup(props: CheckboxGroupProps) {\n  return (\n    <AriaCheckboxGroup\n      {...props}\n      className={composeTailwindRenderProps(props.className, 'flex flex-col gap-2 font-sans')}>\n      <Label>{props.label}</Label>\n      {props.children}\n      {props.description && <Description>{props.description}</Description>}\n      <FieldError>{props.errorMessage}</FieldError>\n    </AriaCheckboxGroup>\n  );\n}\n"
    }
  ],
  "css": {
    "@plugin \"tailwindcss-react-aria-components\"": {},
    "@import \"tw-animate-css\"": {}
  }
}
