{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A bar of customer logos and a row of key figures together.",
  "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/proof-band.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// ProofBandProps are the props of ProofBand; the values are the JSON shapes of the TypeScript props.\ntype ProofBandProps struct {\n\tId any `json:\"id\"`\n\tTitle any `json:\"title\"`\n\tLogos any `json:\"logos\"`\n\tEmpty any `json:\"empty\"`\n\tStats any `json:\"stats\"`\n\tLayout any `json:\"layout\"`\n\tLogoStyle any `json:\"logoStyle\"`\n\tTone any `json:\"tone\"`\n\tDensity any `json:\"density\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// Customer logos together with the key numbers: logos above the numbers, or beside them. Axes: layout (above, beside), logos (name, icon), tone, density.\ntempl ProofBand(p ProofBandProps) {\n\t{{ vId := p.Id }}\n\t{{ vTitle := p.Title }}\n\t{{ vLogos := p.Logos }}\n\t{{ vEmpty := uiutils.Def(p.Empty, \"\") }}\n\t{{ vStats := p.Stats }}\n\t{{ vLayout := uiutils.Def(p.Layout, \"above\") }}\n\t{{ vLogoStyle := uiutils.Def(p.LogoStyle, \"name\") }}\n\t{{ vTone := uiutils.Def(p.Tone, \"default\") }}\n\t{{ vDensity := uiutils.Def(p.Density, \"default\") }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\t@SectionFrame(SectionFrameProps{Id: vId, Title: vTitle, Tone: vTone, Density: vDensity, Align: \"center\", LandmarkLabel: vLandmarkLabel}) {\n\t\tif uiutils.Eq(uiutils.Len(vLogos), float64(0)) {\n\t\t\t@EmptyState(EmptyStateProps{Icon: \"building-2\", Title: vEmpty})\n\t\t} else {\n\t\t\t@compose.Grid(compose.GridProps{Cols: uiutils.S(uiutils.Cond(uiutils.T(uiutils.Eq(vLayout, \"beside\")), \"1-2\", \"1\")), BoxProps: box.BoxProps{Class: \"items-center gap-8\"}}) {\n\t\t\t\t@compose.Group(compose.GroupProps{Gap: \"6\", Justify: \"center\", BoxProps: box.BoxProps{Class: \"flex-wrap text-muted-foreground\", Attrs: uiutils.Attrs(\"data-slot\", \"logos\")}}) {\n\t\t\t\t\tfor _, vLogo := range uiutils.L(vLogos) {\n\t\t\t\t\t\t@compose.Group(compose.GroupProps{Gap: \"2\", Align: \"center\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"logo\")}}) {\n\t\t\t\t\t\t\t@icons.LucideIcon(icons.LucideIconProps{Name: uiutils.S(uiutils.Get(vLogo, \"icon\")), Size: 24})\n\t\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", Weight: \"semibold\", TextProps: text.TextProps{Class: uiutils.S(uiutils.Cond(uiutils.T(uiutils.Eq(vLogoStyle, \"icon\")), \"sr-only\", \"\"))}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vLogo, \"name\")) }\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\t@compose.Grid(compose.GridProps{Cols: uiutils.S(uiutils.Cond(uiutils.T(uiutils.Eq(vLayout, \"beside\")), \"2\", \"1-4\")), BoxProps: box.BoxProps{Class: \"gap-6 text-center\", Attrs: uiutils.Attrs(\"data-slot\", \"stats\")}}) {\n\t\t\t\t\tfor _, vStat := range uiutils.L(vStats) {\n\t\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"0\", Align: \"center\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"stat\")}}) {\n\t\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"4xl\", Weight: \"bold\", TextProps: text.TextProps{}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vStat, \"value\")) }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vStat, \"label\")) }\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/proof-band.templ",
      "target": "blocks/proof-band.templ"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "templ",
      "block"
    ]
  },
  "name": "proof-band",
  "registryDependencies": [
    "empty-state",
    "grid",
    "group",
    "kit-box",
    "kit-text",
    "lucide-icon",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Proof Band",
  "type": "registry:block"
}
