{
  "$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/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\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\n * right.\n */\nimport { type ReactNode } from \"react\";\nimport { Inline } from \"../compose\";\n\nexport type NavItemRowProps = {\n  inner?: string;\n  reserveRight?: boolean;\n  children?: ReactNode;\n  icon?: ReactNode;\n  right?: ReactNode;\n};\n\nexport function NavItemRow({ inner, reserveRight = false, children, icon, right }: NavItemRowProps) {\n  return (\n    <Inline className={inner} data-slot=\"nav-item-content\">\n      <Inline\n        className={\"flex min-w-0 flex-1 items-center gap-4 in-data-[nav=collapsed]:flex-none in-data-[nav=collapsed]:justify-center\"}\n        data-slot=\"nav-item-left\"\n      >\n        {icon}\n        <Inline className=\"min-w-0 flex-1 truncate in-data-[nav=collapsed]:hidden\" data-slot=\"nav-item-label\">\n          {children}\n        </Inline>\n      </Inline>\n      {right ? (\n        <Inline className=\"flex items-center gap-2 in-data-[nav=collapsed]:hidden\" data-slot=\"nav-item-right\">\n          {right}\n        </Inline>\n      ) : reserveRight ? (\n        <Inline className=\"size-5 shrink-0 in-data-[nav=collapsed]:hidden\" data-slot=\"nav-item-right\" />\n      ) : null}\n    </Inline>\n  );\n}\n",
      "path": "components/nav-item-row.tsx",
      "target": "components/nav-item-row.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "nav-item-row",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "react",
  "title": "Nav Item Row",
  "type": "registry:component"
}
