{
  "$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{var $v_inner = ($p['inner'] ?? null)}\n{var $v_reserveRight = ($p['reserveRight'] ?? false)}\n{capture $c_4}\n  {capture $c_2}\n    {=og_slot(($p['icon'] ?? null))|noescape}\n    {capture $c_1}\n      {=og_slot(($children ?? null))|noescape}\n    {/capture}\n    {=og_include('compose/Inline.latte', ['class' => 'min-w-0 flex-1 truncate in-data-[nav=collapsed]:hidden', 'attrs' => og_attrs(['data-slot', 'nav-item-label']), 'children' => (string) $c_1])|noescape}\n  {/capture}\n  {=og_include('compose/Inline.latte', ['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' => (string) $c_2])|noescape}\n  {if og_t(((($p['right'] ?? null) !== null)))}\n    {capture $c_3}\n      {=og_slot(($p['right'] ?? null))|noescape}\n    {/capture}\n    {=og_include('compose/Inline.latte', ['class' => 'flex items-center gap-2 in-data-[nav=collapsed]:hidden', 'attrs' => og_attrs(['data-slot', 'nav-item-right']), 'children' => (string) $c_3])|noescape}\n  {elseif og_t($v_reserveRight)}\n    {=og_include('compose/Inline.latte', ['class' => 'size-5 shrink-0 in-data-[nav=collapsed]:hidden', 'attrs' => og_attrs(['data-slot', 'nav-item-right'])])|noescape}\n  {/if}\n{/capture}\n{=og_include('compose/Inline.latte', ['class' => og_s($v_inner), 'attrs' => og_attrs(['data-slot', 'nav-item-content']), 'children' => (string) $c_4])|noescape}\n",
      "path": "blocks/nav-item-row.latte",
      "target": "blocks/nav-item-row.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "nav-item-row",
  "registryDependencies": [
    "inline",
    "utils"
  ],
  "runtime": "latte",
  "title": "Nav Item Row",
  "type": "registry:component"
}
