{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A segmented switcher: a tab list whose items (SwitcherItem) share size and layout. Canary handed these down through context; here each item takes the same two props. Arrow keys: attach `moveFocus` to the keydown (horizontal, activate).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/patterns/switcher.json\n    A segmented switcher: a tab list whose items (SwitcherItem) share size and layout. Canary handed these down through context; here each item takes the same two props. Arrow keys: attach `moveFocus` to the keydown (horizontal, activate).\n    Props (p): size, layout, label, className; children: markup. -#}\n{%- set v_size = (p.size ?? 'default') -%}\n{%- set v_layout = (p.layout ?? 'text') -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set c_1 -%}\n  {{ og_slot((children ?? null))|raw }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': og_s(og_cnv([og_recipe('blocks/recipes/switcher.variants.json', {'size': v_size, 'layout': v_layout}), (p.className ?? '')])), 'attrs': og_attrs(['role', 'tablist', 'aria-label', v_label, 'data-slot', 'switcher']), 'children': c_1}, with_context = false) }}\n",
      "path": "blocks/switcher.html.twig",
      "target": "blocks/switcher.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "switcher",
  "registryDependencies": [
    "box",
    "presets",
    "utils"
  ],
  "runtime": "twig",
  "title": "Switcher",
  "type": "registry:component"
}
