{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The sections of a menu as chips that jump to them: a nav landmark named by `label`, one link per section to `#<prefix>-<key>`.",
  "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/menu-section-nav.json\n    The sections of a menu as chips that jump to them: a nav landmark named by `label`, one link per section to `#<prefix>-<key>`.\n    Props (p): label, sections, prefix, landmarkLabel. -#}\n{%- set v_label = og_def(p['label'], none) -%}\n{%- set v_sections = og_def(p['sections'], none) -%}\n{%- set v_prefix = og_def(p['prefix'], none) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_4 -%}\n  {%- set c_3 -%}\n    {%- for v_s in og_l(v_sections) %}\n      {%- set c_2 -%}\n        {%- set c_1 -%}\n          {{ og_text(og_get(v_s, ['title'])) }}\n        {%- endset -%}\n        {{ og_include('compose/link.html.j2', {'p': {'Href': og_url(og_s(og_tpl('#{0}-{1}', [v_prefix, og_get(v_s, ['key'])]))), 'Variant': 'nav', 'Size': 'sm', 'Class': 'h-8 rounded px-4 inset-ring inset-ring-border'}, 'children': c_1}) }}\n      {%- endset -%}\n      {{ og_include('compose/list-item.html.j2', {'p': {'Attrs': og_attrs(['data-slot', 'sections-row'])}, 'children': c_2}) }}\n    {%- endfor %}\n  {%- endset -%}\n  {{ og_include('compose/list.html.j2', {'p': {'Tag': 'ul', 'Class': 'flex flex-wrap gap-2'}, 'children': c_3}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'nav', 'Attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, v_label]), 'data-slot', 'section-nav'])}, 'children': c_4}) }}\n",
      "path": "blocks/menu-section-nav.html.j2",
      "target": "blocks/menu-section-nav.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "menu-section-nav",
  "registryDependencies": [
    "block",
    "link",
    "list",
    "list-item",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Menu Section Nav",
  "type": "registry:component"
}
