{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "components-toggle",
  "type": "registry:component",
  "title": "Toggle",
  "description": "A button that stays on, for a mode the next action uses",
  "author": "sudo-kw <https://github.com/sudo-kw>",
  "dependencies": [
    "@gpuix/native@0.11.0",
    "@gpuix/react@0.11.0"
  ],
  "registryDependencies": [
    "https://gpuixui.sudokw.com/gpuix-primitives.json"
  ],
  "files": [
    {
      "path": "packages/components/src/toggle.tsx",
      "target": "@ui/gpuixui/components/toggle.tsx",
      "type": "registry:component",
      "content": "/** @jsxImportSource @gpuix/react */\nexport { Toggle } from \"../primitives/toggle.js\";\nexport type { ToggleProps, ToggleVariant } from \"../primitives/toggle.js\";\n\nexport const toggleMeta = {\n  name: \"Toggle\",\n  tier: 1,\n  status: \"done\",\n  gpuixSupport: \"partial\",\n  limitations: [\n    \"No `aria-pressed`: the pressed state is announced through `aria-valuetext`\",\n    \"An icon-only toggle needs a `label`; a glyph carries no accessible name\",\n    \"A busy toggle announces `loadingLabel` and refuses every activation\",\n  ],\n  docs: \"docs/toggle.mdx\",\n  example: \"examples/toggle.example.tsx\",\n  testFile: \"src/behaviour/toggle.test.tsx\",\n} as const;\n"
    }
  ],
  "docs": "[Toggle](https://gpuixui.sudokw.com/components/toggle) — These are GPUix native components: the files render through GPUix's reconciler against `@gpuix/react`, not the DOM, and need the per-platform `@gpuix/native` binding. The CLI installs the `@gpuixui/*` runtime the components import as registry items, so the copied tree resolves on its own; wrap it in `ThemeProvider` before it renders.",
  "meta": {
    "url": "/components/toggle",
    "kind": "component",
    "runtime": "gpuix",
    "registry": "gpuixui"
  }
}