{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"c-switch-6","type":"registry:block","title":"Switch list in card with separators","description":"Switch list in card with separators","dependencies":[],"registryDependencies":["card","field","separator","switch"],"files":[{"path":"c-switch-6.tsx","type":"registry:block","content":"import { Card } from \"@/components/ui/card\"\nimport {\n  Field,\n  FieldGroup,\n  FieldLabel,\n  FieldTitle,\n} from \"@/components/ui/field\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { Switch } from \"@/components/ui/switch\"\n\nexport function Pattern() {\n  return (\n    <Card className=\"w-full max-w-xs p-0\">\n      <FieldGroup className=\"gap-0\">\n        <Field>\n          <FieldLabel className=\"justify-between px-4 py-3\">\n            <FieldTitle>Push notifications</FieldTitle>\n            <Switch defaultChecked />\n          </FieldLabel>\n        </Field>\n        <Separator />\n        <Field>\n          <FieldLabel className=\"justify-between px-4 py-3\">\n            <FieldTitle>Email notifications</FieldTitle>\n            <Switch />\n          </FieldLabel>\n        </Field>\n        <Separator />\n        <Field>\n          <FieldLabel className=\"justify-between px-4 py-3\">\n            <FieldTitle>SMS notifications</FieldTitle>\n            <Switch />\n          </FieldLabel>\n        </Field>\n      </FieldGroup>\n    </Card>\n  )\n}","target":"components/examples/c-switch-6.tsx"}],"meta":{"order":6}}