{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The first three link groups of FooterSplit as small columns beside each other.",
  "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 first three link groups of FooterSplit as small columns beside each other. */\nimport { Fragment, type ReactNode } from \"react\";\nimport { Block, Box, List, ListItem, Stack, Text } from \"../compose\";\nimport { MenuEntry } from \"../components/menu-entry\";\nimport type { MegaGroup } from \"../blocks/mega-menu.types\";\n\nexport type FooterLinkColumnsProps = {\n  label: string;\n  groups: MegaGroup[];\n  landmarkLabel?: string;\n};\n\nexport function FooterLinkColumns({ label, groups, landmarkLabel }: FooterLinkColumnsProps) {\n  return (\n    <>\n      {((groups?.length ?? 0) > 0) ? (\n        <Block tag=\"nav\" aria-label={(landmarkLabel ?? label)} data-slot=\"footer-link-columns\">\n          <Box className=\"grid grid-cols-2 gap-8 sm:grid-cols-3\">\n            {(groups ?? []).map((g, i) => (\n              <Fragment key={g.id}>\n                {(i < 3) ? (\n                  <Stack gap=\"2\" data-slot=\"group\">\n                    <Text size=\"sm\" weight=\"semibold\">\n                      {g.title}\n                    </Text>\n                    <List className=\"m-0 flex list-none flex-col gap-2 p-0\">\n                      {(g.links ?? []).map((item) => (\n                        <ListItem key={item.id} data-slot=\"links-row\">\n                          <MenuEntry href={item.href} className=\"text-sm text-muted-foreground\" variant=\"muted\" size=\"sm\">\n                            {item.name}\n                          </MenuEntry>\n                        </ListItem>\n                      ))}\n                    </List>\n                  </Stack>\n                ) : null}\n              </Fragment>\n            ))}\n          </Box>\n        </Block>\n      ) : null}\n    </>\n  );\n}\n",
      "path": "components/footer-link-columns.tsx",
      "target": "components/footer-link-columns.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "footer-link-columns",
  "registryDependencies": [
    "compose",
    "mega-menu",
    "menu-entry",
    "utils"
  ],
  "runtime": "react",
  "title": "Footer Link Columns",
  "type": "registry:component"
}
