{
  "$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{var $v_label = ($p['label'] ?? null)}\n{var $v_sections = ($p['sections'] ?? null)}\n{var $v_prefix = ($p['prefix'] ?? null)}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_4}\n  {capture $c_3}\n    {foreach og_l($v_sections) as $v_s}\n      {capture $c_2}\n        {capture $c_1}\n          {=og_text(og_get($v_s, ['title']))}\n        {/capture}\n        {=og_include('compose/Link.latte', ['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' => (string) $c_1])|noescape}\n      {/capture}\n      {=og_include('compose/ListItem.latte', ['attrs' => og_attrs(['data-slot', 'sections-row']), 'children' => (string) $c_2])|noescape}\n    {/foreach}\n  {/capture}\n  {=og_include('compose/List.latte', ['tag' => 'ul', 'class' => 'flex flex-wrap gap-2', 'children' => (string) $c_3])|noescape}\n{/capture}\n{=og_include('compose/Block.latte', ['tag' => 'nav', 'attrs' => og_attrs(['aria-label', og_coalesce([$v_landmarkLabel, $v_label]), 'data-slot', 'section-nav']), 'children' => (string) $c_4])|noescape}\n",
      "path": "blocks/menu-section-nav.latte",
      "target": "blocks/menu-section-nav.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "menu-section-nav",
  "registryDependencies": [
    "block",
    "link",
    "list",
    "list-item",
    "utils"
  ],
  "runtime": "latte",
  "title": "Menu Section Nav",
  "type": "registry:component"
}
