{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The cart count as a live status (role status, aria-live polite): a bag icon and the words with the number. The page updates the number; screen readers announce it.",
  "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/cart-count.json\n    The cart count as a live status (role status, aria-live polite): a bag icon and the words with the number. The page updates the number; screen readers announce it.\n    Props (p): count, label. -#}\n{%- set v_count = (p.count ?? 0) -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set c_2 -%}\n  {{ include('icons/LucideIcon.html.twig', {'name': 'shopping-bag', 'size': 16}, with_context = false) }}\n  {%- set c_1 -%}\n    {{ og_text(og_tpl(v_label, [og_str(v_count)])) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'children': c_1}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Inline.html.twig', {'class': 'inline-flex h-8 items-center gap-2 rounded bg-muted px-4 text-sm font-medium', 'attrs': og_attrs(['role', 'status', 'aria-live', 'polite', 'data-slot', 'cart-count']), 'children': c_2}, with_context = false) }}\n",
      "path": "blocks/cart-count.html.twig",
      "target": "blocks/cart-count.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "cart-count",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "twig",
  "title": "Cart Count",
  "type": "registry:component"
}
