{
  "name": "payment-checkout-form",
  "kind": "block",
  "primary": "form",
  "page": "/apps/user-flow/app/registration/billing/billing.contents.html",
  "slots": [],
  "nested": [
    "reg-step-header",
    "reg-billing-card",
    "reg-step-footer",
    "reg-step-progress"
  ],
  "attrs": {
    "data-reg-input": "",
    "action": "/site/examples/registration/confirmation",
    "method": "get"
  },
  "html": "<form data-reg-input action=\"/site/examples/registration/confirmation\" method=\"get\">\n        <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n        <section data-reg-form><!-- nested: reg-billing-card --></section>\n\n        <footer><!-- nested: reg-step-footer --></footer>\n      </form>",
  "source": "apps/user-flow/app/registration/billing/billing.contents.html",
  "metadata": {
    "domain": "forms",
    "description": "Complete payment / checkout form — heading, card number + expiry + CVC + cardholder fields (expiry and CVC share a row), a divider, then country + billing address + city / ZIP fields, and a Start trial submit footer. All payment fields required. The full checkout composition with header and footer. Use for 'payment form', 'checkout form', 'credit card form', 'billing details form'.",
    "keywords": [
      "payment",
      "form",
      "checkout",
      "credit",
      "card",
      "number",
      "expiry",
      "cvc",
      "cardholder",
      "billing",
      "address",
      "country",
      "city",
      "zip",
      "required",
      "complete",
      "card",
      "heading",
      "footer",
      "submit",
      "start-trial",
      "stripe",
      "purchase",
      "full-form"
    ],
    "related": [
      "payment-method-form",
      "billing-payment-method-card-on-file",
      "reg-step-footer"
    ],
    "tags": {
      "complexity": "complex",
      "form": "payment"
    }
  },
  "captured_at": "2026-06-10T14:28:57.979Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "display",
      "textContent": "Billing details"
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "textContent": "We'll only charge after your 14-day trial ends. Cancel anytime."
    },
    {
      "id": "header-2",
      "component": "Header",
      "data-reg-heading": "",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "data-reg-heading": "",
      "children": [
        "header-2"
      ]
    },
    {
      "id": "card",
      "component": "Input",
      "required": true,
      "autocomplete": "cc-number",
      "name": "card",
      "placeholder": "1234 5678 9012 3456"
    },
    {
      "id": "field",
      "component": "Field",
      "inline": true,
      "label": "Card Number",
      "children": [
        "card"
      ]
    },
    {
      "id": "expiry",
      "component": "Input",
      "required": true,
      "autocomplete": "cc-exp",
      "name": "expiry",
      "placeholder": "MM/YY"
    },
    {
      "id": "cvc",
      "component": "Input",
      "required": true,
      "autocomplete": "cc-csc",
      "name": "cvc",
      "placeholder": "CVC"
    },
    {
      "id": "row",
      "component": "Row",
      "gap": "2",
      "children": [
        "expiry",
        "cvc"
      ]
    },
    {
      "id": "field-2",
      "component": "Field",
      "inline": true,
      "label": "Expiry · CVC",
      "children": [
        "row"
      ]
    },
    {
      "id": "cardholder",
      "component": "Input",
      "required": true,
      "autocomplete": "cc-name",
      "name": "cardholder",
      "placeholder": "Jane Doe"
    },
    {
      "id": "field-3",
      "component": "Field",
      "inline": true,
      "label": "Cardholder",
      "children": [
        "cardholder"
      ]
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "country",
      "component": "ChoicePicker",
      "name": "country",
      "value": "us",
      "options": [
        {
          "value": "us",
          "label": "United States"
        },
        {
          "value": "ca",
          "label": "Canada"
        },
        {
          "value": "gb",
          "label": "United Kingdom"
        },
        {
          "value": "de",
          "label": "Germany"
        },
        {
          "value": "fr",
          "label": "France"
        },
        {
          "value": "other",
          "label": "Other…"
        }
      ]
    },
    {
      "id": "field-4",
      "component": "Field",
      "inline": true,
      "label": "Country",
      "children": [
        "country"
      ]
    },
    {
      "id": "address",
      "component": "Input",
      "required": true,
      "autocomplete": "street-address",
      "name": "address",
      "placeholder": "123 Main St"
    },
    {
      "id": "field-5",
      "component": "Field",
      "inline": true,
      "label": "Billing Address",
      "children": [
        "address"
      ]
    },
    {
      "id": "city",
      "component": "Input",
      "required": true,
      "autocomplete": "address-level2",
      "name": "city",
      "placeholder": "San Francisco"
    },
    {
      "id": "zip",
      "component": "Input",
      "required": true,
      "autocomplete": "postal-code",
      "name": "zip",
      "placeholder": "ZIP"
    },
    {
      "id": "row-2",
      "component": "Row",
      "gap": "2",
      "children": [
        "city",
        "zip"
      ]
    },
    {
      "id": "field-6",
      "component": "Field",
      "inline": true,
      "label": "City · ZIP",
      "children": [
        "row-2"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "data-reg-form": "",
      "children": [
        "field",
        "field-2",
        "field-3",
        "divider",
        "field-4",
        "field-5",
        "field-6"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "data-reg-form": "",
      "children": [
        "section-2"
      ]
    },
    {
      "id": "column",
      "component": "Column"
    },
    {
      "id": "text-3",
      "component": "Text",
      "textContent": "Back",
      "variant": "body"
    },
    {
      "id": "link",
      "component": "Link",
      "href": "/site/examples/registration/plan",
      "text": "Back",
      "data-reg-back": "",
      "children": [
        "text-3"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "type": "submit",
      "text": "Start trial",
      "variant": "primary"
    },
    {
      "id": "column-2",
      "component": "Column",
      "data-reg-actions": "",
      "children": [
        "link",
        "button"
      ]
    },
    {
      "id": "footer-2",
      "component": "Footer",
      "children": [
        "column",
        "column-2"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "children": [
        "footer-2"
      ]
    },
    {
      "id": "root",
      "component": "FormContainer",
      "data-reg-input": "",
      "children": [
        "header",
        "section",
        "footer"
      ]
    }
  ]
}
