{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "checkbox-label-and-description",
  "title": "Checkbox with label and description",
  "description": "Checkbox with label and description, built from the checkbox component.",
  "registryDependencies": [
    "checkbox",
    "field"
  ],
  "files": [
    {
      "path": "registry/patterns/checkbox-label-and-description/checkbox-label-and-description.tsx",
      "content": "/**\n * Checkbox with label and description - adapted for tealmac UI from the ReUI example \"c-checkbox-5\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport { Checkbox } from \"@/components/ui/checkbox\"\nimport {\n  Field,\n  FieldContent,\n  FieldDescription,\n  FieldLabel,\n} from \"@/components/ui/field\"\n\nexport function CheckboxLabelAndDescription() {\n  return (\n    <Field orientation=\"horizontal\" className=\"w-auto max-w-xs\">\n      <Checkbox id=\"terms-2\" defaultChecked />\n      <FieldContent>\n        <FieldLabel htmlFor=\"terms-2\">Accept terms and conditions</FieldLabel>\n        <FieldDescription>\n          This checkbox is used to accept the terms and conditions.\n        </FieldDescription>\n      </FieldContent>\n    </Field>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}