{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The body of a SectionFrame: inside a card when `boxed`, else the children as they are (no wrapper).",
  "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/patterns/section-box.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\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// SectionBoxProps are the props of SectionBox; the values are the JSON shapes of the TypeScript props.\ntype SectionBoxProps struct {\n\tBoxed any `json:\"boxed\"`\n}\n\n// The body of a SectionFrame: inside a card when `boxed`, else the children as they are (no wrapper).\ntempl SectionBox(p SectionBoxProps) {\n\t{{ vBoxed := uiutils.Def(p.Boxed, false) }}\n\tif uiutils.T(vBoxed) {\n\t\t@compose.Card(compose.CardProps{Variant: \"muted\", BoxProps: box.BoxProps{}}) {\n\t\t\t{ children... }\n\t\t}\n\t} else {\n\t\t{ children... }\n\t}\n}\n",
      "path": "blocks/section-box.templ",
      "target": "blocks/section-box.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "section-box",
  "registryDependencies": [
    "card",
    "kit-box",
    "utils"
  ],
  "runtime": "templ",
  "title": "Section Box",
  "type": "registry:component"
}
