{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Ways to pay as radio cards: icon, name and a line of text; `checked` is the chosen one. Static markup.",
  "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/payment-options.json\n    Ways to pay as radio cards: icon, name and a line of text; `checked` is the chosen one. Static markup.\n    Props (p): payments, name, checked. -#}\n{%- set v_payments = (p.payments ?? null) -%}\n{%- set v_name = (p.name ?? null) -%}\n{%- set v_checked = (p.checked ?? '') -%}\n{%- set c_5 -%}\n  {%- for v_p in og_l(v_payments) %}\n    {%- set c_4 -%}\n      {{ include('compose/Radio.html.twig', {'name': og_s(v_name), 'value': og_s(og_get(v_p, ['id'])), 'checked': og_t(og_eq(og_get(v_p, ['id']), v_checked))}, with_context = false) }}\n      {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_p, ['icon'])), 'size': 20, 'class': 'shrink-0'}, with_context = false) }}\n      {%- set c_3 -%}\n        {%- set c_1 -%}\n          {{ og_text(og_get(v_p, ['title'])) }}\n        {%- endset -%}\n        {{ include('compose/Inline.html.twig', {'class': 'text-sm font-semibold', 'children': c_1}, with_context = false) }}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_p, ['text'])) }}\n        {%- endset -%}\n        {{ include('compose/Inline.html.twig', {'class': 'text-xs text-muted-foreground', 'children': c_2}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Inline.html.twig', {'class': 'flex flex-col items-start justify-start gap-0', 'children': c_3}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Label.html.twig', {'class': 'flex items-center gap-4 rounded p-4 inset-ring inset-ring-border has-checked:inset-ring-foreground', 'attrs': og_attrs(['data-slot', 'payment']), 'children': c_4}, with_context = false) }}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Grid.html.twig', {'cols': '1-2', 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'payments']), 'children': c_5}, with_context = false) }}\n",
      "path": "blocks/payment-options.html.twig",
      "target": "blocks/payment-options.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "payment-options",
  "registryDependencies": [
    "grid",
    "inline",
    "label",
    "lucide-icon",
    "radio",
    "utils"
  ],
  "runtime": "twig",
  "title": "Payment Options",
  "type": "registry:component"
}
