{
  "$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{var $v_size = ($p['size'] ?? 'default')}\n{var $v_layout = ($p['layout'] ?? 'text')}\n{var $v_label = ($p['label'] ?? null)}\n{capture $c_1}\n  {=og_slot(($children ?? null))|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['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' => (string) $c_1])|noescape}\n",
      "path": "blocks/switcher.latte",
      "target": "blocks/switcher.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "switcher",
  "registryDependencies": [
    "box",
    "presets",
    "utils"
  ],
  "runtime": "latte",
  "title": "Switcher",
  "type": "registry:component"
}
