{
  "name": "drawer-delete-account",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/saas/app/profile-security/profile-security.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-delete-account\" side=\"right\" size=\"md\">\n  <header>\n    <span slot=\"icon\">\n      <avatar-ui icon=\"warning-octagon\"></avatar-ui>\n    </span>\n    <span slot=\"heading\">\n      <text-ui strong>Delete account</text-ui>\n    </span>\n    <span slot=\"action\"></span>\n  </header>\n  <section>\n    <text-ui color=\"subtle\" size=\"sm\">Permanently removes your account and all associated data after a 30-day grace period.</text-ui>\n  </section>\n  <section>\n    <col-ui gap=\"4\">\n      <alert-ui\n        variant=\"danger\"\n        icon=\"warning\"\n        text=\"This cannot be undone after 30 days. You'll be signed out immediately, and billing stops at the next cycle.\"\n      ></alert-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>What gets deleted</text-ui>\n        <row-ui gap=\"2\" align=\"center\"><icon-ui name=\"x-circle\" color=\"danger\"></icon-ui><text-ui>All conversations and uploaded files</text-ui></row-ui>\n        <row-ui gap=\"2\" align=\"center\"><icon-ui name=\"x-circle\" color=\"danger\"></icon-ui><text-ui>Workspaces you own (members are notified)</text-ui></row-ui>\n        <row-ui gap=\"2\" align=\"center\"><icon-ui name=\"x-circle\" color=\"danger\"></icon-ui><text-ui>API keys, webhooks, and integrations</text-ui></row-ui>\n        <row-ui gap=\"2\" align=\"center\"><icon-ui name=\"x-circle\" color=\"danger\"></icon-ui><text-ui>Billing history and tax documents</text-ui></row-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>Before you go</text-ui>\n        <button-ui text=\"Export my data\" variant=\"outline\" icon=\"download-simple\" stretch></button-ui>\n        <button-ui text=\"Transfer workspace ownership\" variant=\"outline\" icon=\"user-switch\" stretch></button-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Confirm</text-ui>\n        <field-ui label=\"Type your email to confirm\">\n          <input-ui placeholder=\"kim@acme.com\"></input-ui>\n        </field-ui>\n        <field-ui label=\"Type DELETE to confirm\">\n          <input-ui placeholder=\"DELETE\"></input-ui>\n        </field-ui>\n      </col-ui>\n    </col-ui>\n  </section>\n  <footer slot=\"footer\">\n    <grid-ui>\n      <button-ui text=\"Cancel\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n      <button-ui text=\"Delete my account\" icon=\"trash\" color=\"danger\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n    </grid-ui>\n  </footer>\n</drawer-ui>",
  "source": "apps/saas/app/profile-security/profile-security.contents.html",
  "metadata": {
    "domain": "settings",
    "description": "Delete account confirmation drawer — final confirmation with data export reminder.",
    "keywords": [
      "drawer",
      "delete",
      "account",
      "confirmation",
      "permanent",
      "irreversible",
      "export"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "warning-octagon"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Delete account"
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "heading",
      "children": [
        "text-3"
      ]
    },
    {
      "id": "text-4",
      "component": "Text",
      "variant": "body",
      "slot": "action"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2",
        "text-4"
      ]
    },
    {
      "id": "text-5",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Permanently removes your account and all associated data after a 30-day grace period."
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "alert",
      "component": "Alert",
      "icon": "warning",
      "text": "This cannot be undone after 30 days. You'll be signed out immediately, and billing stops at the next cycle.",
      "variant": "danger"
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "What gets deleted"
    },
    {
      "id": "x-circle",
      "component": "Icon",
      "name": "x-circle"
    },
    {
      "id": "text-7",
      "component": "Text",
      "textContent": "All conversations and uploaded files"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "x-circle",
        "text-7"
      ]
    },
    {
      "id": "icon",
      "component": "Icon",
      "name": "x-circle"
    },
    {
      "id": "text-8",
      "component": "Text",
      "textContent": "Workspaces you own (members are notified)"
    },
    {
      "id": "row-2",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon",
        "text-8"
      ]
    },
    {
      "id": "icon-2",
      "component": "Icon",
      "name": "x-circle"
    },
    {
      "id": "text-9",
      "component": "Text",
      "textContent": "API keys, webhooks, and integrations"
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon-2",
        "text-9"
      ]
    },
    {
      "id": "icon-3",
      "component": "Icon",
      "name": "x-circle"
    },
    {
      "id": "text-10",
      "component": "Text",
      "textContent": "Billing history and tax documents"
    },
    {
      "id": "row-4",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon-3",
        "text-10"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-6",
        "row",
        "row-2",
        "row-3",
        "row-4"
      ]
    },
    {
      "id": "divider-2",
      "component": "Divider"
    },
    {
      "id": "text-11",
      "component": "Text",
      "strong": true,
      "textContent": "Before you go"
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "download-simple",
      "stretch": true,
      "text": "Export my data",
      "variant": "outline"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "user-switch",
      "stretch": true,
      "text": "Transfer workspace ownership",
      "variant": "outline"
    },
    {
      "id": "column-3",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-11",
        "button",
        "button-2"
      ]
    },
    {
      "id": "divider-3",
      "component": "Divider"
    },
    {
      "id": "text-12",
      "component": "Text",
      "strong": true,
      "textContent": "Confirm"
    },
    {
      "id": "input",
      "component": "Input",
      "placeholder": "kim@acme.com"
    },
    {
      "id": "field",
      "component": "Field",
      "label": "Type your email to confirm",
      "children": [
        "input"
      ]
    },
    {
      "id": "input-2",
      "component": "Input",
      "placeholder": "DELETE"
    },
    {
      "id": "field-2",
      "component": "Field",
      "label": "Type DELETE to confirm",
      "children": [
        "input-2"
      ]
    },
    {
      "id": "column-4",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-12",
        "field",
        "field-2"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "alert",
        "divider",
        "column-2",
        "divider-2",
        "column-3",
        "divider-3",
        "column-4"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button-3",
      "component": "Button",
      "text": "Cancel",
      "variant": "ghost"
    },
    {
      "id": "button-4",
      "component": "Button",
      "color": "danger",
      "icon": "trash",
      "text": "Delete my account"
    },
    {
      "id": "grid",
      "component": "Grid",
      "children": [
        "button-3",
        "button-4"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
