{
  "name": "drawer-figma",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/saas/app/integrations/integrations.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-figma\" side=\"right\" size=\"md\">\n  <header>\n    <span slot=\"icon\">\n      <avatar-ui icon=\"figma-logo\"></avatar-ui>\n    </span>\n    <span slot=\"heading\">\n      <text-ui strong>Figma</text-ui>\n    </span>\n    <span slot=\"action\"></span>\n  </header>\n  <section>\n    <text-ui color=\"subtle\" size=\"sm\">Embed designs and sync frames from your team</text-ui>\n  </section>\n  <section>\n    <col-ui gap=\"4\">\n      <alert-ui\n        variant=\"info\"\n        icon=\"info\"\n        text=\"Sign in with your Figma account. Acme requests read-only access to files you or your team have published.\"\n      ></alert-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>Permissions Acme will receive</text-ui>\n        <row-ui gap=\"2\" align=\"center\"><icon-ui name=\"check-circle\" color=\"success\"></icon-ui><text-ui>Read file metadata, pages, and frames</text-ui></row-ui>\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"check-circle\" color=\"success\"></icon-ui><text-ui>Generate embed URLs for published frames</text-ui></row-ui\n        >\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"check-circle\" color=\"success\"></icon-ui><text-ui>Receive webhook events when files update</text-ui></row-ui\n        >\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"x-circle\" color=\"subtle\"></icon-ui><text-ui color=\"subtle\">No edit access · no billing or admin scope</text-ui></row-ui\n        >\n      </col-ui>\n      <divider-ui></divider-ui>\n      <field-ui label=\"Figma team\" hint=\"Populated after OAuth completes.\">\n        <select-ui value=\"design\">\n          <option value=\"design\">Acme · Design</option>\n          <option value=\"marketing\">Acme · Marketing</option>\n          <option value=\"brand\">Acme · Brand</option>\n          <option value=\"engineering\">Acme · Engineering (personal)</option>\n        </select-ui>\n      </field-ui>\n      <field-ui label=\"Project filter\">\n        <select-ui value=\"all\">\n          <option value=\"all\">All projects in selected team</option>\n          <option value=\"published\">Published-only files</option>\n          <option value=\"starred\">Starred projects</option>\n        </select-ui>\n      </field-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Sync behavior</text-ui>\n        <field-ui label=\"Auto-sync frames when a file is published\" inline>\n          <switch-ui checked></switch-ui>\n        </field-ui>\n        <field-ui label=\"Refresh thumbnails every 6 hours\" inline>\n          <switch-ui checked></switch-ui>\n        </field-ui>\n        <field-ui label=\"Include prototype interactions\" inline>\n          <switch-ui></switch-ui>\n        </field-ui>\n        <field-ui label=\"Notify on library publishes\" inline>\n          <switch-ui></switch-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=\"Continue to Figma\" icon=\"arrow-square-out\" variant=\"primary\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n    </grid-ui>\n  </footer>\n</drawer-ui>",
  "source": "apps/saas/app/integrations/integrations.contents.html",
  "metadata": {
    "domain": "settings",
    "description": "Figma integration setup drawer — connect Figma account for design sync.",
    "keywords": [
      "drawer",
      "figma",
      "integration",
      "connect",
      "design",
      "sync",
      "token",
      "api"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "figma-logo"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Figma"
    },
    {
      "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": "Embed designs and sync frames from your team"
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "alert",
      "component": "Alert",
      "icon": "info",
      "text": "Sign in with your Figma account. Acme requests read-only access to files you or your team have published.",
      "variant": "info"
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "Permissions Acme will receive"
    },
    {
      "id": "check-circle",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-7",
      "component": "Text",
      "textContent": "Read file metadata, pages, and frames"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "check-circle",
        "text-7"
      ]
    },
    {
      "id": "icon",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-8",
      "component": "Text",
      "textContent": "Generate embed URLs for published frames"
    },
    {
      "id": "row-2",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon",
        "text-8"
      ]
    },
    {
      "id": "icon-2",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-9",
      "component": "Text",
      "textContent": "Receive webhook events when files update"
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon-2",
        "text-9"
      ]
    },
    {
      "id": "x-circle",
      "component": "Icon",
      "name": "x-circle"
    },
    {
      "id": "text-10",
      "component": "Text",
      "color": "subtle",
      "textContent": "No edit access · no billing or admin scope"
    },
    {
      "id": "row-4",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "x-circle",
        "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": "choice-picker",
      "component": "ChoicePicker",
      "value": "design",
      "options": [
        {
          "value": "design",
          "label": "Acme · Design"
        },
        {
          "value": "marketing",
          "label": "Acme · Marketing"
        },
        {
          "value": "brand",
          "label": "Acme · Brand"
        },
        {
          "value": "engineering",
          "label": "Acme · Engineering (personal)"
        }
      ]
    },
    {
      "id": "field",
      "component": "Field",
      "hint": "Populated after OAuth completes.",
      "label": "Figma team",
      "children": [
        "choice-picker"
      ]
    },
    {
      "id": "choice-picker-2",
      "component": "ChoicePicker",
      "value": "all",
      "options": [
        {
          "value": "all",
          "label": "All projects in selected team"
        },
        {
          "value": "published",
          "label": "Published-only files"
        },
        {
          "value": "starred",
          "label": "Starred projects"
        }
      ]
    },
    {
      "id": "field-2",
      "component": "Field",
      "label": "Project filter",
      "children": [
        "choice-picker-2"
      ]
    },
    {
      "id": "divider-3",
      "component": "Divider"
    },
    {
      "id": "text-11",
      "component": "Text",
      "strong": true,
      "textContent": "Sync behavior"
    },
    {
      "id": "toggle",
      "component": "Toggle",
      "checked": true
    },
    {
      "id": "field-3",
      "component": "Field",
      "inline": true,
      "label": "Auto-sync frames when a file is published",
      "children": [
        "toggle"
      ]
    },
    {
      "id": "toggle-2",
      "component": "Toggle",
      "checked": true
    },
    {
      "id": "field-4",
      "component": "Field",
      "inline": true,
      "label": "Refresh thumbnails every 6 hours",
      "children": [
        "toggle-2"
      ]
    },
    {
      "id": "toggle-3",
      "component": "Toggle"
    },
    {
      "id": "field-5",
      "component": "Field",
      "inline": true,
      "label": "Include prototype interactions",
      "children": [
        "toggle-3"
      ]
    },
    {
      "id": "toggle-4",
      "component": "Toggle"
    },
    {
      "id": "field-6",
      "component": "Field",
      "inline": true,
      "label": "Notify on library publishes",
      "children": [
        "toggle-4"
      ]
    },
    {
      "id": "column-3",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-11",
        "field-3",
        "field-4",
        "field-5",
        "field-6"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "alert",
        "divider",
        "column-2",
        "divider-2",
        "field",
        "field-2",
        "divider-3",
        "column-3"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "text": "Cancel",
      "variant": "ghost"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "arrow-square-out",
      "text": "Continue to Figma",
      "variant": "primary"
    },
    {
      "id": "grid",
      "component": "Grid",
      "children": [
        "button",
        "button-2"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
