{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A heading over one centered row of logo slots (LogoSlot); the row and slot sizes come from the default preset.",
  "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/logo-ribbon.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// LogoRibbonProps are the props of LogoRibbon; the values are the JSON shapes of the TypeScript props.\ntype LogoRibbonProps struct {\n\tId any `json:\"id\"`\n\tTitle any `json:\"title\"`\n\tLogos any `json:\"logos\"`\n\tTone any `json:\"tone\"`\n\tDensity any `json:\"density\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// A heading over one centered row of logo slots (LogoSlot); the row and slot sizes come from the default preset.\ntempl LogoRibbon(p LogoRibbonProps) {\n\t{{ vId := p.Id }}\n\t{{ vTitle := p.Title }}\n\t{{ vLogos := p.Logos }}\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, Tone: vTone, Density: vDensity, Measure: \"fill\", Align: \"center\", Class: uiutils.Cnv(\"py-0\"), LandmarkLabel: vLandmarkLabel}) {\n\t\t@compose.Stack(compose.StackProps{Gap: \"6\", Align: \"center\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"logos-block\")}}) {\n\t\t\t@compose.Title(compose.TitleProps{As: \"2\", Size: \"xl\", Weight: \"semibold\", TextProps: text.TextProps{Class: \"leading-7\", Attrs: uiutils.Attrs(\"id\", uiutils.Add(vId, \"-title\"))}}) {\n\t\t\t\t{ uiutils.Text(vTitle) }\n\t\t\t}\n\t\t\t@compose.Group(compose.GroupProps{Gap: \"0\", Justify: \"center\", Align: \"start\", BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex w-full flex-wrap\", uiutils.Get(presetDefaults, \"logos\", \"row\"))), Attrs: uiutils.Attrs(\"data-slot\", \"items\")}}) {\n\t\t\t\tfor _, vLogo := range uiutils.L(vLogos) {\n\t\t\t\t\t@LogoSlot(LogoSlotProps{Name: uiutils.Get(vLogo, \"name\"), Icon: uiutils.Get(vLogo, \"icon\")})\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/logo-ribbon.templ",
      "target": "blocks/logo-ribbon.templ"
    }
  ],
  "meta": {
    "category": "general",
    "kind": "block",
    "tags": [
      "templ",
      "block"
    ]
  },
  "name": "logo-ribbon",
  "registryDependencies": [
    "group",
    "kit-box",
    "kit-text",
    "logo-slot",
    "presets",
    "section-frame",
    "stack",
    "title",
    "utils"
  ],
  "runtime": "templ",
  "title": "Logo Ribbon",
  "type": "registry:block"
}
