{
  "$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{var $v_payments = ($p['payments'] ?? null)}\n{var $v_name = ($p['name'] ?? null)}\n{var $v_checked = ($p['checked'] ?? '')}\n{capture $c_5}\n  {foreach og_l($v_payments) as $v_p}\n    {capture $c_4}\n      {=og_include('compose/Radio.latte', ['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))])|noescape}\n      {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_p, ['icon'])), 'size' => 20, 'class' => 'shrink-0'])|noescape}\n      {capture $c_3}\n        {capture $c_1}\n          {=og_text(og_get($v_p, ['title']))}\n        {/capture}\n        {=og_include('compose/Inline.latte', ['class' => 'text-sm font-semibold', 'children' => (string) $c_1])|noescape}\n        {capture $c_2}\n          {=og_text(og_get($v_p, ['text']))}\n        {/capture}\n        {=og_include('compose/Inline.latte', ['class' => 'text-xs text-muted-foreground', 'children' => (string) $c_2])|noescape}\n      {/capture}\n      {=og_include('compose/Inline.latte', ['class' => 'flex flex-col items-start justify-start gap-0', 'children' => (string) $c_3])|noescape}\n    {/capture}\n    {=og_include('compose/Label.latte', ['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' => (string) $c_4])|noescape}\n  {/foreach}\n{/capture}\n{=og_include('compose/Grid.latte', ['cols' => '1-2', 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'payments']), 'children' => (string) $c_5])|noescape}\n",
      "path": "blocks/payment-options.latte",
      "target": "blocks/payment-options.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "payment-options",
  "registryDependencies": [
    "grid",
    "inline",
    "label",
    "lucide-icon",
    "radio",
    "utils"
  ],
  "runtime": "latte",
  "title": "Payment Options",
  "type": "registry:component"
}
