{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The row inside NavItem: the icon and the label on the left, the right slot (or an empty 20 by 20 frame) on the right.",
  "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/nav-item-row.json\n    The row inside NavItem: the icon and the label on the left, the right slot (or an empty 20 by 20 frame) on the right.\n    Props (p): inner, reserveRight, icon (slot), right (slot); children: markup. -#}\n{%- set v_inner = og_def(p['inner'], none) -%}\n{%- set v_reserveRight = og_def(p['reserveRight'], false) -%}\n{%- set c_4 -%}\n  {%- set c_2 -%}\n    {{ og_slot(og_def(p['icon'], none))|safe }}\n    {%- set c_1 -%}\n      {{ og_slot(og_def(children, none))|safe }}\n    {%- endset -%}\n    {{ og_include('compose/inline.html.j2', {'p': {'Class': 'min-w-0 flex-1 truncate in-data-[nav=collapsed]:hidden', 'Attrs': og_attrs(['data-slot', 'nav-item-label'])}, 'children': c_1}) }}\n  {%- endset -%}\n  {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex min-w-0 flex-1 items-center gap-4 in-data-[nav=collapsed]:flex-none in-data-[nav=collapsed]:justify-center', 'Attrs': og_attrs(['data-slot', 'nav-item-left'])}, 'children': c_2}) }}\n  {%- if og_t((og_def(p['right'], none) is not none)) %}\n    {%- set c_3 -%}\n      {{ og_slot(og_def(p['right'], none))|safe }}\n    {%- endset -%}\n    {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex items-center gap-2 in-data-[nav=collapsed]:hidden', 'Attrs': og_attrs(['data-slot', 'nav-item-right'])}, 'children': c_3}) }}\n  {%- elif og_t(v_reserveRight) %}\n    {{ og_include('compose/inline.html.j2', {'p': {'Class': 'size-5 shrink-0 in-data-[nav=collapsed]:hidden', 'Attrs': og_attrs(['data-slot', 'nav-item-right'])}}) }}\n  {%- endif %}\n{%- endset -%}\n{{ og_include('compose/inline.html.j2', {'p': {'Class': og_s(v_inner), 'Attrs': og_attrs(['data-slot', 'nav-item-content'])}, 'children': c_4}) }}\n",
      "path": "blocks/nav-item-row.html.j2",
      "target": "blocks/nav-item-row.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "nav-item-row",
  "registryDependencies": [
    "inline",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Nav Item Row",
  "type": "registry:component"
}
