{
  "name": "auth-mfa-enrollment",
  "kind": "block",
  "primary": "card-ui",
  "page": "/apps/user-flow/app/auth/sign-up/mfa-setup/mfa-setup.contents.html",
  "slots": [],
  "nested": [
    "auth-card-header",
    "auth-card-content",
    "auth-mfa-enrollment-submit"
  ],
  "attrs": {
    "raw": ""
  },
  "html": "<card-ui\n        raw\n        style=\"max-width: 32rem\"\n      >\n        <header><!-- nested: auth-card-header --></header>\n\n        <section><!-- nested: auth-card-content --></section>\n      </card-ui>",
  "source": "apps/user-flow/app/auth/sign-up/mfa-setup/mfa-setup.contents.html",
  "metadata": {
    "domain": "auth",
    "description": "Multi-factor authentication enrollment card. Shown during sign-up; user scans QR code with authenticator app and confirms with a TOTP code.",
    "keywords": [
      "mfa",
      "2fa",
      "enrollment",
      "setup",
      "signup",
      "auth",
      "authenticator",
      "totp",
      "qr",
      "code",
      "scan"
    ],
    "related": [
      "auth-signup-entry",
      "auth-mfa-enrollment-submit",
      "auth-profile-setup",
      "auth-signin-card-mfa"
    ],
    "tags": {
      "complexity": "moderate",
      "layout": "card"
    }
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "image",
      "component": "Image",
      "alt": "Adia Logo",
      "height": "5rem",
      "src": "/icons/agent-ui-light.svg"
    },
    {
      "id": "adia-ui-home",
      "component": "Link",
      "href": "/",
      "children": [
        "image"
      ]
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "display",
      "textContent": "Set up two-factor"
    },
    {
      "id": "text-2",
      "component": "Text",
      "textContent": "Scan the QR code with your authenticator app, then enter the 6-digit code below."
    },
    {
      "id": "column",
      "component": "Column",
      "align": "center",
      "gap": "1",
      "children": [
        "adia-ui-home",
        "text",
        "text-2"
      ]
    },
    {
      "id": "header-2",
      "component": "Header",
      "children": [
        "column"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "header-2"
      ]
    },
    {
      "id": "qr-code",
      "component": "Icon",
      "name": "qr-code",
      "size": "4xl"
    },
    {
      "id": "authenticator-qr-code-placehol",
      "component": "Column",
      "data-auth-qr": "",
      "children": [
        "qr-code"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Or enter manually:"
    },
    {
      "id": "code",
      "component": "Code",
      "textContent": "JBSW Y3DP EHPK 3PXP"
    },
    {
      "id": "column-4",
      "component": "Column",
      "align": "center",
      "gap": "2",
      "children": [
        "text-3",
        "code"
      ]
    },
    {
      "id": "column-3",
      "component": "Column",
      "align": "center",
      "gap": "3",
      "children": [
        "authenticator-qr-code-placehol",
        "column-4"
      ]
    },
    {
      "id": "totp",
      "component": "OtpInput",
      "length": 6,
      "name": "totp"
    },
    {
      "id": "text-4",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "From Google Authenticator, 1Password, Authy, or similar."
    },
    {
      "id": "column-5",
      "component": "Column",
      "align": "center",
      "gap": "2",
      "children": [
        "totp",
        "text-4"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "type": "submit",
      "text": "Verify and enable",
      "variant": "primary"
    },
    {
      "id": "column-6",
      "component": "Column",
      "gap": "4",
      "children": [
        "button"
      ]
    },
    {
      "id": "form-container-2",
      "component": "FormContainer",
      "children": [
        "column-6"
      ]
    },
    {
      "id": "form-container",
      "component": "FormContainer",
      "children": [
        "form-container-2"
      ]
    },
    {
      "id": "text-6",
      "component": "Text",
      "variant": "body",
      "textContent": "Save your backup codes."
    },
    {
      "id": "text-5",
      "component": "Text",
      "variant": "body",
      "slot": "content",
      "textContent": "You'll see 10 single-use codes after verifying — store them somewhere safe in case you lose your device.",
      "children": [
        "text-6"
      ]
    },
    {
      "id": "alert",
      "component": "Alert",
      "icon": "key",
      "variant": "info",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "text-8",
      "component": "Text",
      "textContent": "Skip for now — set up later in settings",
      "variant": "body"
    },
    {
      "id": "link",
      "component": "Link",
      "href": "/site/examples/dashboard",
      "text": "Skip for now — set up later in settings",
      "children": [
        "text-8"
      ]
    },
    {
      "id": "text-7",
      "component": "Text",
      "color": "subtle",
      "text-align": "center",
      "children": [
        "link"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "6",
      "children": [
        "column-3",
        "column-5",
        "form-container",
        "alert",
        "text-7"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column-2"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column-7"
      ]
    },
    {
      "id": "column-7",
      "component": "Column",
      "children": [
        "section-2"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "raw": true,
      "children": [
        "header",
        "section"
      ]
    }
  ]
}
