{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A navigation region in its own file: Block tag nav named by `label`.",
  "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/nav-block.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// NavBlockProps are the props of NavBlock; the values are the JSON shapes of the TypeScript props.\ntype NavBlockProps struct {\n\tLabel any `json:\"label\"`\n\tTestid any `json:\"testid\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n\tClass string `json:\"className\"`\n}\n\n// A navigation region in its own file: Block tag nav named by `label`.\ntempl NavBlock(p NavBlockProps) {\n\t{{ vLabel := p.Label }}\n\t{{ vTestid := p.Testid }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: \"nav\", Class: uiutils.S(uiutils.Cnv(p.Class)), Attrs: uiutils.Attrs(\"aria-label\", uiutils.Coalesce(vLandmarkLabel, vLabel), \"data-slot\", uiutils.Coalesce(vTestid, \"nav-block\"))}}) {\n\t\t{ children... }\n\t}\n}\n",
      "path": "blocks/nav-block.templ",
      "target": "blocks/nav-block.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "nav-block",
  "registryDependencies": [
    "block",
    "kit-box",
    "utils"
  ],
  "runtime": "templ",
  "title": "Nav Block",
  "type": "registry:component"
}
