{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "switch",
  "title": "Switch",
  "author": "superzero11 <https://github.com/superzero11/uiset>",
  "description": "An on and off switch, with its thumb in place.",
  "dependencies": [
    "@ui-sdk/core@0.1.0-beta.5",
    "@ui-sdk/react@0.1.0-beta.5"
  ],
  "registryDependencies": [
    "https://uiset.dev/r/uiset.json"
  ],
  "files": [
    {
      "path": "registry/uiset/ui/switch.tsx",
      "content": "\"use client\"\n\nimport { Switch as SwitchRoot, SwitchThumb } from \"@ui-sdk/react/switch\"\nimport type * as React from \"react\"\n\nfunction Switch({ children, ...props }: React.ComponentProps<typeof SwitchRoot>) {\n  return <SwitchRoot {...props}>{children ?? <SwitchThumb />}</SwitchRoot>\n}\n\nexport { Switch, SwitchThumb }\nexport { createSwitchController } from \"@ui-sdk/react/switch\"\n",
      "type": "registry:ui",
      "target": "@ui/switch.tsx"
    }
  ],
  "type": "registry:ui"
}