{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The brand row of a sidebar: a mark and the product name on the left, trailing actions on the right. The variant picks the padding (recipe).",
  "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 brand row of a sidebar: a mark and the product name on the left, trailing actions on the right. The\n * variant picks the padding (recipe).\n */\nimport { type ReactNode } from \"react\";\nimport { Box, Inline } from \"../compose\";\nimport { cn, variants } from \"../utils\";\n\n/** LogoSidebar: the classes of each value (shadcn/cva style). */\nexport const logoSidebarVariants = variants({\n  base: \"flex h-8 items-center justify-between\",\n  variants: {\n    variant: {\n      chat: \"px-2\",\n      creator: \"pr-4\",\n    },\n  },\n  defaultVariants: { variant: \"chat\" },\n});\n\nexport type LogoSidebarProps = {\n  variant?: \"chat\" | \"creator\";\n  name: string;\n  className?: string;\n  mark?: ReactNode;\n  actions?: ReactNode;\n};\n\nexport function LogoSidebar({ variant = \"chat\", name, className, mark, actions }: LogoSidebarProps) {\n  return (\n    <Box\n      className={cn(\n        logoSidebarVariants({ variant: variant }),\n        \"in-data-[nav=collapsed]:w-full in-data-[nav=collapsed]:justify-center in-data-[nav=collapsed]:p-0\",\n        className\n      )}\n      data-slot=\"logo-sidebar\"\n    >\n      <Inline className=\"flex items-center gap-4\" data-slot=\"logo-sidebar-brand\">\n        {mark}\n        <Inline\n          className=\"text-sm font-bold text-foreground in-data-[nav=collapsed]:hidden\"\n          data-slot=\"logo-sidebar-name\"\n        >\n          {name}\n        </Inline>\n      </Inline>\n      {actions ? (\n        <Inline className=\"flex items-center gap-2 in-data-[nav=collapsed]:hidden\" data-slot=\"logo-sidebar-actions\">\n          {actions}\n        </Inline>\n      ) : null}\n    </Box>\n  );\n}\n",
      "path": "components/logo-sidebar.tsx",
      "target": "components/logo-sidebar.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "logo-sidebar",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "react",
  "title": "Logo Sidebar",
  "type": "registry:component"
}
