{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The channels of the community as three cards: a glyph over the name and one line.",
  "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/** The channels of the community as three cards: a glyph over the name and one line. */\nimport { Fragment, type ReactNode } from \"react\";\nimport { Box, Inline, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport type { FooterExtras, FooterSplitLabels } from \"../blocks/footer-split.types\";\n\nexport type FooterChannelsProps = {\n  extras: FooterExtras;\n};\n\nexport function FooterChannels({ extras }: FooterChannelsProps) {\n  return (\n    <>\n      {((extras.channels?.length ?? 0) > 0) ? (\n        <Box className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\" data-slot=\"footer-channels\">\n          {(extras.channels ?? []).map((c, i) => (\n            <Fragment key={c.id}>\n              {(i < 3) ? (\n                <Stack\n                  gap=\"2\"\n                  align=\"start\"\n                  className=\"rounded bg-card inset-ring inset-ring-border p-4\"\n                  data-slot=\"footer-channel\"\n                >\n                  <Inline className=\"flex size-10 shrink-0 items-center justify-center rounded bg-muted text-foreground\">\n                    <LucideIcon name={c.icon} size={20} />\n                  </Inline>\n                  <Text size=\"sm\" weight=\"semibold\">\n                    {c.title}\n                  </Text>\n                  <Text size=\"xs\" className=\"text-muted-foreground\">\n                    {c.text}\n                  </Text>\n                </Stack>\n              ) : null}\n            </Fragment>\n          ))}\n        </Box>\n      ) : null}\n    </>\n  );\n}\n",
      "path": "components/footer-channels.tsx",
      "target": "components/footer-channels.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "footer-channels",
  "registryDependencies": [
    "compose",
    "footer-split",
    "lucide-icon",
    "utils"
  ],
  "runtime": "react",
  "title": "Footer Channels",
  "type": "registry:component"
}
