{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "files": [
    {
      "content": "import { Field } from \"~/registry/ui/field\";\nimport { Label } from \"~/registry/ui/label\";\nimport { RadioGroup } from \"~/registry/ui/radio-group\";\n\nexport function FieldRadioDemo() {\n  return (\n    <Field.Set>\n      <Field.Legend>Notification preferences</Field.Legend>\n      <Field.Description>\n        How would you like to receive notifications?\n      </Field.Description>\n      <RadioGroup.Root data-slot=\"radio-group\" defaultValue=\"email\">\n        <Field.Root\n          orientation=\"horizontal\"\n          render={<RadioGroup.Item value=\"email\" />}\n        >\n          <RadioGroup.Indicator />\n          <Label>Email</Label>\n        </Field.Root>\n        <Field.Root\n          orientation=\"horizontal\"\n          render={<RadioGroup.Item value=\"sms\" />}\n        >\n          <RadioGroup.Indicator />\n          <Label>SMS</Label>\n        </Field.Root>\n        <Field.Root\n          orientation=\"horizontal\"\n          render={<RadioGroup.Item value=\"push\" />}\n        >\n          <RadioGroup.Indicator />\n          <Label>Push notification</Label>\n        </Field.Root>\n      </RadioGroup.Root>\n    </Field.Set>\n  );\n}\n",
      "path": "src/registry/examples/field/field-radio-demo.tsx",
      "type": "registry:example"
    }
  ],
  "name": "field-radio-demo",
  "registryDependencies": [
    "@kanpeki/field"
  ],
  "type": "registry:example"
}