{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "An app-style tab bar for a phone: an icon over a name, the current tab marked.",
  "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/bottom-nav.json\n    An app-style tab bar for a phone: an icon over a label per tab, the current one marked. Axes: labels (show, hide: icons only with the name hidden), position (static, sticky: stays at the bottom of the page), tone.\n    Props (p): label, tabs, current, labels, position, tone, landmarkLabel. -#}\n{%- set v_label = (p.label ?? null) -%}\n{%- set v_tabs = (p.tabs ?? null) -%}\n{%- set v_current = (p.current ?? '') -%}\n{%- set v_labels = (p.labels ?? 'show') -%}\n{%- set v_position = (p.position ?? 'static') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- if og_t(og_gt(og_len(v_tabs), 0)) %}\n  {%- set c_5 -%}\n    {%- set c_4 -%}\n      {%- for v_tab in og_l(v_tabs) %}\n        {%- set c_3 -%}\n          {%- set c_2 -%}\n            {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_tab, ['icon'])), 'size': 20}, with_context = false) }}\n            {%- set c_1 -%}\n              {{ og_text(og_get(v_tab, ['name'])) }}\n            {%- endset -%}\n            {{ include('compose/Inline.html.twig', {'class': og_s((og_t(og_eq(v_labels, 'hide')) ? 'sr-only' : '')), 'children': c_1}, with_context = false) }}\n          {%- endset -%}\n          {{ include('blocks/menu-entry.html.twig', {'p': {'href': og_get(v_tab, ['href']), 'className': og_cnv([og_cnv(['flex flex-col items-center gap-2 py-2 text-xs', (og_t(og_eq(og_get(v_tab, ['id']), v_current)) ? 'font-semibold text-primary' : 'text-muted-foreground')])]), 'current': og_eq(og_get(v_tab, ['id']), v_current), 'testid': 'item'}, 'children': og_markup(c_2)}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/ListItem.html.twig', {'attrs': og_attrs(['data-slot', 'tabs-row']), 'children': c_3}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/List.html.twig', {'class': 'm-0 grid list-none grid-flow-col auto-cols-fr p-0', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_4}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Block.html.twig', {'tag': 'nav', 'class': og_s(og_cnv(['mx-auto w-full max-w-md border-t border-border', (og_t(og_eq(v_tone, 'muted')) ? 'bg-muted' : 'bg-background'), (og_t(og_eq(v_position, 'sticky')) ? 'sticky bottom-0 z-40' : '')])), 'attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, v_label]), 'data-position', v_position, 'data-slot', 'bottom-nav']), 'children': c_5}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/bottom-nav.html.twig",
      "target": "blocks/bottom-nav.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "bottom-nav",
  "registryDependencies": [
    "block",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "menu-entry",
    "utils"
  ],
  "runtime": "twig",
  "title": "Bottom Nav",
  "type": "registry:block"
}
