{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "checkbox3",
  "title": "Checkbox",
  "description": "A control that allows the user to toggle between checked and not checked. Each checkbox variant follows the interaction models of Radix UI and Base UI.",
  "registryDependencies": [
    "checkbox",
    "label"
  ],
  "files": [
    {
      "path": "contents/components/checkbox/3/index.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { Label } from \"@/components/ui/label\";\n\nexport default function Component() {\n  const id = useId();\n  return (\n    <div className=\"flex items-center gap-2\">\n      <Checkbox defaultChecked id={id} />\n      <Label className=\"peer-data-[state=checked]:line-through\" htmlFor={id}>\n        Simple todo item\n      </Label>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/checkbox3.tsx"
    }
  ],
  "type": "registry:component"
}