{
  "$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 = og_def(p['payments'], none) -%}\n{%- set v_name = og_def(p['name'], none) -%}\n{%- set v_checked = og_def(p['checked'], '') -%}\n{%- set c_5 -%}\n  {%- for v_p in og_l(v_payments) %}\n    {%- set c_4 -%}\n      {{ og_include('compose/radio.html.j2', {'p': {'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))}}) }}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_p, ['icon'])), 'Size': 20, 'Class': 'shrink-0'}}) }}\n      {%- set c_3 -%}\n        {%- set c_1 -%}\n          {{ og_text(og_get(v_p, ['title'])) }}\n        {%- endset -%}\n        {{ og_include('compose/inline.html.j2', {'p': {'Class': 'text-sm font-semibold'}, 'children': c_1}) }}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_p, ['text'])) }}\n        {%- endset -%}\n        {{ og_include('compose/inline.html.j2', {'p': {'Class': 'text-xs text-muted-foreground'}, 'children': c_2}) }}\n      {%- endset -%}\n      {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex flex-col items-start justify-start gap-0'}, 'children': c_3}) }}\n    {%- endset -%}\n    {{ og_include('compose/label.html.j2', {'p': {'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}) }}\n  {%- endfor %}\n{%- endset -%}\n{{ og_include('compose/grid.html.j2', {'p': {'Cols': '1-2', 'Class': 'gap-4', 'Attrs': og_attrs(['data-slot', 'payments'])}, 'children': c_5}) }}\n",
      "path": "blocks/payment-options.html.j2",
      "target": "blocks/payment-options.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "payment-options",
  "registryDependencies": [
    "grid",
    "inline",
    "label",
    "lucide-icon",
    "radio",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Payment Options",
  "type": "registry:component"
}
