{
  "$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 = (p.label ?? null) -%}\n{%- set v_sections = (p.sections ?? null) -%}\n{%- set v_prefix = (p.prefix ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\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        {{ include('compose/Link.html.twig', {'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}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/ListItem.html.twig', {'attrs': og_attrs(['data-slot', 'sections-row']), 'children': c_2}, with_context = false) }}\n    {%- endfor %}\n  {%- endset -%}\n  {{ include('compose/List.html.twig', {'tag': 'ul', 'class': 'flex flex-wrap gap-2', 'children': c_3}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'nav', 'attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, v_label]), 'data-slot', 'section-nav']), 'children': c_4}, with_context = false) }}\n",
      "path": "blocks/menu-section-nav.html.twig",
      "target": "blocks/menu-section-nav.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "menu-section-nav",
  "registryDependencies": [
    "block",
    "link",
    "list",
    "list-item",
    "utils"
  ],
  "runtime": "twig",
  "title": "Menu Section Nav",
  "type": "registry:component"
}
