{
  "$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{var $v_active = ($p['active'] ?? false)}\n{var $v_label = ($p['label'] ?? null)}\n{capture $c_1}\n  {=og_slot(($children ?? null))|noescape}\n{/capture}\n{=og_include('compose/ButtonPlain.latte', ['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' => (string) $c_1])|noescape}\n",
      "path": "blocks/icon-tab.latte",
      "target": "blocks/icon-tab.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "icon-tab",
  "registryDependencies": [
    "button-plain",
    "presets",
    "utils"
  ],
  "runtime": "latte",
  "title": "Icon Tab",
  "type": "registry:component"
}
