{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "switch-description-example",
  "title": "Switch Description",
  "description": "switch-description-example",
  "registryDependencies": [
    "https://intentui.com/r/card",
    "https://intentui.com/r/field",
    "https://intentui.com/r/switch"
  ],
  "files": [
    {
      "path": "src/components/examples/controls/switch/switch-description-example.tsx",
      "content": "import { CardDescription, CardHeader, CardTitle } from '@/components/ui/card'\nimport { Description } from '@/components/ui/field'\nimport { Switch, SwitchField } from '@/components/ui/switch'\n\nexport default function SwitchDescriptionDemo() {\n  return (\n    <div className=\"flex flex-col gap-4\">\n      <CardHeader>\n        <CardTitle className=\"font-medium sm:text-sm/6\">Privacy settings</CardTitle>\n        <CardDescription>Choose what others can see and how your account is shown.</CardDescription>\n      </CardHeader>\n      <SwitchField value=\"profileVisible\" name=\"pp\">\n        <Switch>Public profile</Switch>\n        <Description>Allow others to see your profile.</Description>\n      </SwitchField>\n      <SwitchField value=\"searchEngineIndexing\" name=\"se\">\n        <Switch>Search engine indexing</Switch>\n        <Description>Allow search engines to index your profile.</Description>\n      </SwitchField>\n      <SwitchField defaultSelected value=\"twoFactor\" name=\"tf\">\n        <Switch>Two-factor authentication</Switch>\n        <Description>Add an extra layer of security to your account.</Description>\n      </SwitchField>\n      <SwitchField value=\"activityStatus\" name=\"as\">\n        <Switch>Show activity status</Switch>\n        <Description>Let others see when you're online.</Description>\n      </SwitchField>\n    </div>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/switch-description-example/page.tsx"
    }
  ],
  "type": "registry:page"
}