{
  "name": "drawer-role",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/user-flow/app/onboarding/review/review.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-role\" side=\"right\" size=\"md\">\n      <header>\n        <span slot=\"icon\">\n          <avatar-ui icon=\"user\"></avatar-ui>\n        </span>\n        <span slot=\"heading\">\n          <text-ui strong>Role</text-ui>\n        </span>\n        <span slot=\"action\"></span>\n      </header>\n      <section>\n        <text-ui color=\"subtle\" size=\"sm\">Tunes which dashboards land on your home and which integrations we surface first.</text-ui>\n      </section>\n      <section>\n        <div role=\"radiogroup\" aria-label=\"Role\">\n          <col-ui gap=\"2\">\n            <option-card-ui\n              name=\"role\"\n              value=\"developer\"\n              checked\n              heading=\"Developer\"\n              description=\"Home pinned to release dashboards. Surfaces deploys, PR throughput, error rates.\"\n            ></option-card-ui>\n            <option-card-ui\n              name=\"role\"\n              value=\"pm\"\n              heading=\"Product Manager\"\n              description=\"Home pinned to product KPIs. Surfaces feature usage, retention, NPS.\"\n            ></option-card-ui>\n            <option-card-ui\n              name=\"role\"\n              value=\"designer\"\n              heading=\"Designer\"\n              description=\"Home pinned to research + funnel surfaces. Surfaces session replays and qual snippets.\"\n            ></option-card-ui>\n            <option-card-ui\n              name=\"role\"\n              value=\"other\"\n              heading=\"Something else\"\n              description=\"Tell us more — we'll start with a generalist home and refine later.\"\n            >\n              <textarea-ui name=\"role-detail\" placeholder=\"What do you do day-to-day?\" rows=\"2\"></textarea-ui>\n            </option-card-ui>\n          </col-ui>\n        </div>\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=\"Save changes\" variant=\"primary\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n        </grid-ui>\n      </footer>\n    </drawer-ui>",
  "source": "apps/user-flow/app/onboarding/review/review.contents.html",
  "metadata": {
    "domain": "settings",
    "description": "Edit member role drawer — change team member permissions and access level.",
    "keywords": [
      "drawer",
      "role",
      "edit",
      "member",
      "permissions",
      "access",
      "level",
      "settings"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "user"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Role"
    },
    {
      "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": "Tunes which dashboards land on your home and which integrations we surface first."
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "option-card",
      "component": "OptionCard",
      "description": "Home pinned to release dashboards. Surfaces deploys, PR throughput, error rates.",
      "checked": true,
      "heading": "Developer",
      "name": "role",
      "value": "developer"
    },
    {
      "id": "option-card-2",
      "component": "OptionCard",
      "description": "Home pinned to product KPIs. Surfaces feature usage, retention, NPS.",
      "heading": "Product Manager",
      "name": "role",
      "value": "pm"
    },
    {
      "id": "option-card-3",
      "component": "OptionCard",
      "description": "Home pinned to research + funnel surfaces. Surfaces session replays and qual snippets.",
      "heading": "Designer",
      "name": "role",
      "value": "designer"
    },
    {
      "id": "role-detail",
      "component": "TextArea",
      "name": "role-detail",
      "placeholder": "What do you do day-to-day?",
      "rows": "2"
    },
    {
      "id": "option-card-4",
      "component": "OptionCard",
      "description": "Tell us more — we'll start with a generalist home and refine later.",
      "heading": "Something else",
      "name": "role",
      "value": "other",
      "children": [
        "role-detail"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "2",
      "children": [
        "option-card",
        "option-card-2",
        "option-card-3",
        "option-card-4"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "text": "Cancel",
      "variant": "ghost"
    },
    {
      "id": "button-2",
      "component": "Button",
      "text": "Save changes",
      "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"
      ]
    }
  ]
}
