{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "checkbox-13",
  "title": "Trailing checkbox with description",
  "description": "A label, a sublabel and a description with the box at the end.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/checkbox.json",
    "https://ui.ndekocode.dev/r/label.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/checkbox/checkbox-13.tsx",
      "content": "import { useId } from 'react';\n\nimport { Checkbox } from '@/registry/ndeko/ui/checkbox';\nimport { Label } from '@/registry/ndeko/ui/label';\n\nexport default function Checkbox13() {\n  const id = useId();\n  const descriptionId = `${id}-description`;\n\n  return (\n    <div className='flex w-full items-start gap-2'>\n      <Checkbox id={id} aria-describedby={descriptionId} className='order-1' />\n      <div className='grid grow gap-1.5'>\n        <Label htmlFor={id}>\n          Share usage data{' '}\n          <span className='text-muted-foreground text-xs leading-[inherit] font-normal'>\n            (Optional)\n          </span>\n        </Label>\n        <p id={descriptionId} className='text-muted-foreground text-xs'>\n          Helps us find slow screens. Project content is never sent.\n        </p>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "checkbox"
  ],
  "type": "registry:component"
}