{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Switch: Switch + recipe switch.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT.\n\npackage compose\n\nimport \"github.com/ui8kit/codegen/generated/templ/ui/switch\"\n\n// SwitchProps: Switch: Switch + recipe switch.\ntype SwitchProps struct {\n\tSize string\n\tformswitch.SwitchProps\n}\n\nfunc switchInner(p SwitchProps) formswitch.SwitchProps {\n\tin := p.SwitchProps\n\tin.Class = Join(Rc(\"switch\", map[string]string{\"size\": p.Size}), p.SwitchProps.Class)\n\treturn in\n}\n\n// Switch renders Switch with the composition classes.\ntempl Switch(p SwitchProps) {\n\t@formswitch.Switch(switchInner(p))\n}\n",
      "path": "compose/switch.templ",
      "target": "compose/switch.templ"
    }
  ],
  "meta": {
    "category": "primitives",
    "kind": "primitive",
    "tags": [
      "templ",
      "primitive"
    ]
  },
  "name": "switch",
  "registryDependencies": [
    "kit-switch",
    "recipes",
    "utils"
  ],
  "runtime": "templ",
  "title": "Switch",
  "type": "registry:ui"
}
