{
  "$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 { For, type JSX } from \"solid-js\";\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 class=\"grid grid-cols-2 gap-8 sm:grid-cols-3\">\n            <For each={groups ?? []}>{(g, iOf) => { const i = iOf(); return (\n              <>\n                {(i < 3) ? (\n                  <Stack gap=\"2\" data-slot=\"group\">\n                    <Text size=\"sm\" weight=\"semibold\">\n                      {g.title}\n                    </Text>\n                    <List class=\"m-0 flex list-none flex-col gap-2 p-0\">\n                      <For each={g.links ?? []}>{(item) => (\n                        <ListItem data-slot=\"links-row\">\n                          <MenuEntry href={item.href} class=\"text-sm text-muted-foreground\" variant=\"muted\" size=\"sm\">\n                            {item.name}\n                          </MenuEntry>\n                        </ListItem>\n                      )}</For>\n                    </List>\n                  </Stack>\n                ) : null}\n              </>\n            ); }}</For>\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": [
      "solid",
      "component"
    ]
  },
  "name": "footer-link-columns",
  "registryDependencies": [
    "compose",
    "mega-menu",
    "menu-entry",
    "utils"
  ],
  "runtime": "solid",
  "title": "Footer Link Columns",
  "type": "registry:component"
}
