{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "switch",
  "type": "registry:component",
  "title": "Switch",
  "author": "Toby Belhome",
  "description": "A control that allows the user to toggle between checked and not checked.",
  "dependencies": [],
  "registryDependencies": [
    "label",
    "switch"
  ],
  "files": [
    {
      "path": "examples/components/switch/01/page.tsx",
      "content": "import { Label } from \"@/components/ui/label\";\nimport { Switch } from \"@/components/ui/switch\";\n\nexport default function SwitchDemo() {\n  return (\n    <div className=\"flex items-center space-x-2\">\n      <Switch id=\"airplane-mode\" />\n      <Label htmlFor=\"airplane-mode\">Airplane Mode</Label>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/switch.tsx"
    }
  ],
  "meta": {
    "isPro": false
  }
}