{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "switch",
  "type": "registry:ui",
  "title": "Switch",
  "description": "An on/off setting that applies at once: a native checkbox with `role=\"switch\"`, its label and error wired up.",
  "dependencies": [
    "@pinfold/react@^1.1.0",
    "@pinfold/css@^1.1.0"
  ],
  "files": [
    {
      "path": "components/ui/switch.tsx",
      "type": "registry:ui",
      "target": "components/ui/switch.tsx",
      "content": "import '@pinfold/css/core.css';\nimport '@pinfold/css/switch.css';\n\n/**\n * Pinfold switch. This file is yours: import from here across the app,\n * and change shared defaults in one place.\n * Docs: https://pinfold.indranildev.in/docs/switch\n */\nexport { useSwitch, defineSwitch, Switch } from '@pinfold/react/switch';\nexport type { SwitchConfig, SwitchApi } from '@pinfold/react/switch';\n"
    }
  ],
  "docs": "https://pinfold.indranildev.in/docs/switch"
}
