{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The link groups of SitemapFooter as columns: a group title over its links, up to five columns.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n// Source: packages/compose-gen/specs/organisms/footer-columns.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// FooterColumnsProps are the props of FooterColumns; the values are the JSON shapes of the TypeScript props.\ntype FooterColumnsProps struct {\n\tLabel any `json:\"label\"`\n\tGroups any `json:\"groups\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// The link groups of SitemapFooter as columns: a group title over its links, up to five columns.\ntempl FooterColumns(p FooterColumnsProps) {\n\t{{ vLabel := p.Label }}\n\t{{ vGroups := p.Groups }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\tif uiutils.Gt(uiutils.Len(vGroups), float64(0)) {\n\t\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: \"nav\", Attrs: uiutils.Attrs(\"aria-label\", uiutils.Coalesce(vLandmarkLabel, vLabel), \"data-slot\", \"footer-columns\")}}) {\n\t\t\t@compose.Grid(compose.GridProps{Cols: \"1\", BoxProps: box.BoxProps{Class: \"grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-5\", Attrs: uiutils.Attrs(\"data-slot\", \"footer-groups\")}}) {\n\t\t\t\tfor _, vG := range uiutils.L(vGroups) {\n\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"2\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"group\")}}) {\n\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", Weight: \"semibold\", TextProps: text.TextProps{}}) {\n\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vG, \"title\")) }\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@compose.List(compose.ListProps{BoxProps: box.BoxProps{Class: \"m-0 flex list-none flex-col gap-2 p-0\"}}) {\n\t\t\t\t\t\t\tfor _, vItem := range uiutils.L(uiutils.Get(vG, \"links\")) {\n\t\t\t\t\t\t\t\t@compose.ListItem(compose.ListItemProps{BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"links-row\")}}) {\n\t\t\t\t\t\t\t\t\t@MenuEntry(MenuEntryProps{Href: uiutils.Get(vItem, \"href\"), Class: uiutils.Cnv(\"text-sm text-muted-foreground\")}) {\n\t\t\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vItem, \"name\")) }\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/footer-columns.templ",
      "target": "blocks/footer-columns.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "footer-columns",
  "registryDependencies": [
    "block",
    "grid",
    "kit-box",
    "kit-text",
    "list",
    "list-item",
    "menu-entry",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Footer Columns",
  "type": "registry:component"
}
