{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A landmark region (header, nav, section, aside, footer, article, figure) inside another file: one Block, never nested, so a nested landmark is its own component.",
  "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/parts/region.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// RegionProps are the props of Region; the values are the JSON shapes of the TypeScript props.\ntype RegionProps struct {\n\tTag any `json:\"tag\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n\tClass string `json:\"className\"`\n}\n\n// A landmark region (header, nav, section, aside, footer, article, figure) inside another file: one Block, never nested, so a nested landmark is its own component.\ntempl Region(p RegionProps) {\n\t{{ vTag := p.Tag }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: uiutils.S(vTag), Class: uiutils.S(p.Class), Attrs: uiutils.Attrs(\"aria-label\", vLandmarkLabel, \"data-slot\", \"region\")}}) {\n\t\t{ children... }\n\t}\n}\n",
      "path": "blocks/region.templ",
      "target": "blocks/region.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "region",
  "registryDependencies": [
    "block",
    "kit-box",
    "utils"
  ],
  "runtime": "templ",
  "title": "Region",
  "type": "registry:component"
}
