{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The link groups of FooterSplit as cards: a glyph and the group title over its links, four across on wide screens.",
  "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-group-cards.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/icons\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// FooterGroupCardsProps are the props of FooterGroupCards; the values are the JSON shapes of the TypeScript props.\ntype FooterGroupCardsProps struct {\n\tLabel any `json:\"label\"`\n\tGroups any `json:\"groups\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// The link groups of FooterSplit as cards: a glyph and the group title over its links, four across on wide screens.\ntempl FooterGroupCards(p FooterGroupCardsProps) {\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-group-cards\")}}) {\n\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\"}}) {\n\t\t\t\tfor _, vG := range uiutils.L(vGroups) {\n\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"4\", Align: \"stretch\", BoxProps: box.BoxProps{Class: \"rounded bg-card inset-ring inset-ring-border p-6\", Attrs: uiutils.Attrs(\"data-slot\", \"group\")}}) {\n\t\t\t\t\t\t@compose.Group(compose.GroupProps{Gap: \"2\", Align: \"center\", BoxProps: box.BoxProps{}}) {\n\t\t\t\t\t\t\t@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: \"flex size-10 shrink-0 items-center justify-center rounded bg-muted text-foreground\"}}) {\n\t\t\t\t\t\t\t\t@icons.LucideIcon(icons.LucideIconProps{Name: uiutils.S(uiutils.Get(vG, \"icon\")), Size: 20})\n\t\t\t\t\t\t\t}\n\t\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\t{ uiutils.Text(uiutils.Get(vG, \"title\")) }\n\t\t\t\t\t\t\t}\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\"), Variant: \"muted\", Size: \"sm\"}) {\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-group-cards.templ",
      "target": "blocks/footer-group-cards.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "footer-group-cards",
  "registryDependencies": [
    "block",
    "box",
    "group",
    "inline",
    "kit-box",
    "kit-text",
    "list",
    "list-item",
    "lucide-icon",
    "menu-entry",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Footer Group Cards",
  "type": "registry:component"
}
