{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One icon-only tab (28 by 28, a 16 px glyph in the children). `label` is its accessible name. Arrow-key movement between tabs is the job of IconTabs (see roving).",
  "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/icon-tab.json\n    One icon-only tab (28 by 28, a 16 px glyph in the children). `label` is its accessible name. Arrow-key movement between tabs is the job of IconTabs (see roving).\n    Props (p): active, label, className; children: markup. -#}\n{%- set v_active = (p.active ?? false) -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set c_1 -%}\n  {{ og_slot((children ?? null))|raw }}\n{%- endset -%}\n{{ include('compose/ButtonPlain.html.twig', {'type': 'button', 'ariaLabel': og_s(v_label), 'class': og_s(og_cnv([og_recipe('blocks/recipes/icon-tab.variants.json', {'state': (og_t(v_active) ? 'active' : 'default')}), (p.className ?? '')])), 'attrs': og_attrs(['role', 'tab', 'aria-selected', v_active, 'tabindex', (og_t(v_active) ? 0 : -1), 'data-slot', 'icon-tab', 'data-state', (og_t(v_active) ? 'active' : 'default')]), 'children': c_1}, with_context = false) }}\n",
      "path": "blocks/icon-tab.html.twig",
      "target": "blocks/icon-tab.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "icon-tab",
  "registryDependencies": [
    "button-plain",
    "presets",
    "utils"
  ],
  "runtime": "twig",
  "title": "Icon Tab",
  "type": "registry:component"
}
