{
  "name": "reg-departments-toggle",
  "kind": "block",
  "primary": "section",
  "page": "/apps/user-flow/app/registration/departments/departments.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "data-reg-form": ""
  },
  "html": "<section data-reg-form>\n          <alert-ui variant=\"info\" icon=\"sparkle\">\n            <span slot=\"content\"> Based on your team size (51–200) and use case (building a product), we pre-checked seven likely departments. </span>\n          </alert-ui>\n\n          <grid-ui columns=\"1 2@md\" gap=\"2\">\n            <check-ui name=\"dept[engineering]\" checked label=\"Engineering\"></check-ui>\n            <check-ui name=\"dept[product]\" checked label=\"Product\"></check-ui>\n            <check-ui name=\"dept[design]\" checked label=\"Design\"></check-ui>\n            <check-ui name=\"dept[sales]\" checked label=\"Sales\"></check-ui>\n            <check-ui name=\"dept[marketing]\" checked label=\"Marketing\"></check-ui>\n            <check-ui name=\"dept[cs]\" checked label=\"Customer Success\"></check-ui>\n            <check-ui name=\"dept[ops]\" checked label=\"Operations\"></check-ui>\n            <check-ui name=\"dept[finance]\" label=\"Finance\"></check-ui>\n            <check-ui name=\"dept[hr]\" label=\"People / HR\"></check-ui>\n            <check-ui name=\"dept[legal]\" label=\"Legal\"></check-ui>\n            <check-ui name=\"dept[data]\" label=\"Data / Analytics\"></check-ui>\n            <check-ui name=\"dept[security]\" label=\"Security\"></check-ui>\n          </grid-ui>\n\n          <divider-ui></divider-ui>\n\n          <col-ui gap=\"2\">\n            <text-ui strong>Custom departments</text-ui>\n            <text-ui color=\"subtle\" size=\"sm\">Add anything specific to your org — e.g. \"Research\", \"Studio\", \"Foundry\".</text-ui>\n          </col-ui>\n\n          <row-ui gap=\"2\" align=\"end\">\n            <field-ui inline label=\"Name\" grow>\n              <input-ui name=\"custom_dept\" placeholder=\"e.g. Research\"></input-ui>\n            </field-ui>\n            <button-ui text=\"Add\" icon=\"plus\" variant=\"outline\" type=\"button\"></button-ui>\n          </row-ui>\n\n          <row-ui gap=\"2\">\n            <tag-ui text=\"Research\"></tag-ui>\n            <tag-ui text=\"Studio\"></tag-ui>\n          </row-ui>\n\n          <div data-reg-defer-row>\n            <check-ui name=\"defer\" label=\"I'll do this later from admin → workspace → departments\"></check-ui>\n            <text-ui color=\"subtle\" size=\"sm\" data-reg-defer-hint>\n              Members will land in a single \"Everyone\" group until departments are configured. You can re-bucket from the directory later.\n            </text-ui>\n          </div>\n        </section>",
  "source": "apps/user-flow/app/registration/departments/departments.contents.html",
  "metadata": {
    "domain": "forms",
    "description": "Department toggle grid — select applicable departments during company setup.",
    "keywords": [
      "registration",
      "departments",
      "toggle",
      "select",
      "teams",
      "org",
      "chart"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "content",
      "textContent": "Based on your team size (51–200) and use case (building a product), we pre-checked seven likely departments."
    },
    {
      "id": "alert",
      "component": "Alert",
      "icon": "sparkle",
      "variant": "info",
      "children": [
        "text"
      ]
    },
    {
      "id": "dept-engineering",
      "component": "CheckBox",
      "checked": true,
      "label": "Engineering",
      "name": "dept[engineering]"
    },
    {
      "id": "dept-product",
      "component": "CheckBox",
      "checked": true,
      "label": "Product",
      "name": "dept[product]"
    },
    {
      "id": "dept-design",
      "component": "CheckBox",
      "checked": true,
      "label": "Design",
      "name": "dept[design]"
    },
    {
      "id": "dept-sales",
      "component": "CheckBox",
      "checked": true,
      "label": "Sales",
      "name": "dept[sales]"
    },
    {
      "id": "dept-marketing",
      "component": "CheckBox",
      "checked": true,
      "label": "Marketing",
      "name": "dept[marketing]"
    },
    {
      "id": "dept-cs",
      "component": "CheckBox",
      "checked": true,
      "label": "Customer Success",
      "name": "dept[cs]"
    },
    {
      "id": "dept-ops",
      "component": "CheckBox",
      "checked": true,
      "label": "Operations",
      "name": "dept[ops]"
    },
    {
      "id": "dept-finance",
      "component": "CheckBox",
      "label": "Finance",
      "name": "dept[finance]"
    },
    {
      "id": "dept-hr",
      "component": "CheckBox",
      "label": "People / HR",
      "name": "dept[hr]"
    },
    {
      "id": "dept-legal",
      "component": "CheckBox",
      "label": "Legal",
      "name": "dept[legal]"
    },
    {
      "id": "dept-data",
      "component": "CheckBox",
      "label": "Data / Analytics",
      "name": "dept[data]"
    },
    {
      "id": "dept-security",
      "component": "CheckBox",
      "label": "Security",
      "name": "dept[security]"
    },
    {
      "id": "grid",
      "component": "Grid",
      "columns": "1 2@md",
      "gap": "2",
      "children": [
        "dept-engineering",
        "dept-product",
        "dept-design",
        "dept-sales",
        "dept-marketing",
        "dept-cs",
        "dept-ops",
        "dept-finance",
        "dept-hr",
        "dept-legal",
        "dept-data",
        "dept-security"
      ]
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "text-2",
      "component": "Text",
      "strong": true,
      "textContent": "Custom departments"
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Add anything specific to your org — e.g. \"Research\", \"Studio\", \"Foundry\"."
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-2",
        "text-3"
      ]
    },
    {
      "id": "custom-dept",
      "component": "Input",
      "name": "custom_dept",
      "placeholder": "e.g. Research"
    },
    {
      "id": "field",
      "component": "Field",
      "inline": true,
      "label": "Name",
      "children": [
        "custom-dept"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "type": "button",
      "icon": "plus",
      "text": "Add",
      "variant": "outline"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "end",
      "gap": "2",
      "children": [
        "field",
        "button"
      ]
    },
    {
      "id": "tag",
      "component": "Tag",
      "text": "Research"
    },
    {
      "id": "tag-2",
      "component": "Tag",
      "text": "Studio"
    },
    {
      "id": "row-2",
      "component": "Row",
      "gap": "2",
      "children": [
        "tag",
        "tag-2"
      ]
    },
    {
      "id": "defer",
      "component": "CheckBox",
      "label": "I'll do this later from admin → workspace → departments",
      "name": "defer"
    },
    {
      "id": "text-4",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Members will land in a single \"Everyone\" group until departments are configured. You can re-bucket from the directory later.",
      "data-reg-defer-hint": ""
    },
    {
      "id": "column-2",
      "component": "Column",
      "data-reg-defer-row": "",
      "children": [
        "defer",
        "text-4"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "data-reg-form": "",
      "children": [
        "alert",
        "grid",
        "divider",
        "column",
        "row",
        "row-2",
        "column-2"
      ]
    }
  ]
}
