{
  "$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{var $v_count = ($p['count'] ?? 0)}\n{var $v_label = ($p['label'] ?? null)}\n{capture $c_2}\n  {=og_include('icons/LucideIcon.latte', ['name' => 'shopping-bag', 'size' => 16])|noescape}\n  {capture $c_1}\n    {=og_text(og_tpl($v_label, [og_str($v_count)]))}\n  {/capture}\n  {=og_include('compose/Inline.latte', ['children' => (string) $c_1])|noescape}\n{/capture}\n{=og_include('compose/Inline.latte', ['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' => (string) $c_2])|noescape}\n",
      "path": "blocks/cart-count.latte",
      "target": "blocks/cart-count.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "cart-count",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "latte",
  "title": "Cart Count",
  "type": "registry:component"
}
