{
  "name": "doc-editor-shell",
  "kind": "page",
  "primary": "article",
  "page": "/catalog/page-shells/app/doc-editor/doc-editor.contents.html",
  "slots": [
    {
      "name": "toolbar",
      "tagName": "header",
      "html": "<row-ui gap=\"2\" align=\"center\">\n        <button-ui icon=\"bold\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <button-ui icon=\"italic\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <separator-ui orientation=\"vertical\"></separator-ui>\n        <button-ui icon=\"list\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <button-ui icon=\"code\" variant=\"ghost\" size=\"sm\"></button-ui>\n      </row-ui>\n      <row-ui gap=\"2\">\n        <button-ui text=\"Share\" variant=\"outline\" size=\"sm\" icon=\"share\"></button-ui>\n        <button-ui text=\"Publish\" variant=\"primary\" size=\"sm\" icon=\"globe\"></button-ui>\n      </row-ui>"
    },
    {
      "name": "editor",
      "tagName": "section",
      "html": "<stack-ui gap=\"3\" style=\"max-width:720px; margin:0 auto;\">\n          <input-ui placeholder=\"Document title\" size=\"lg\" style=\"font-weight:600;\"></input-ui>\n          <textarea-ui placeholder=\"Start writing…\" style=\"min-height:400px; resize:vertical;\"></textarea-ui>\n        </stack-ui>"
    },
    {
      "name": "preview",
      "tagName": "aside",
      "html": "<stack-ui gap=\"3\">\n          <text-ui strong size=\"sm\">Preview</text-ui>\n          <card-ui padding=\"md\">\n            <section>\n              <text-ui color=\"subtle\">Rendered preview will appear here.</text-ui>\n            </section>\n          </card-ui>\n        </stack-ui>"
    },
    {
      "name": "metadata",
      "tagName": "aside",
      "html": "<stack-ui gap=\"4\">\n      <text-ui strong size=\"sm\">Metadata</text-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Status</label-ui>\n        <select-ui>\n          <option>Draft</option>\n          <option>Review</option>\n          <option>Published</option>\n        </select-ui>\n      </stack-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Tags</label-ui>\n        <input-ui placeholder=\"Add tags…\"></input-ui>\n      </stack-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Author</label-ui>\n        <row-ui gap=\"2\" align=\"center\">\n          <avatar-ui size=\"sm\" src=\"/avatar.png\"></avatar-ui>\n          <text-ui size=\"sm\">Alex Chen</text-ui>\n        </row-ui>\n      </stack-ui>\n    </stack-ui>"
    }
  ],
  "nested": [],
  "attrs": {},
  "html": "<article style=\"display:flex; height:100vh;\">\n  <section style=\"flex:1; display:flex; flex-direction:column; min-width:0;\">\n    <header data-chunk-slot=\"toolbar\" style=\"padding:var(--a-space-2) var(--a-space-3); border-bottom:1px solid var(--a-border-subtle); display:flex; align-items:center; justify-content:space-between;\">\n      <row-ui gap=\"2\" align=\"center\">\n        <button-ui icon=\"bold\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <button-ui icon=\"italic\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <separator-ui orientation=\"vertical\"></separator-ui>\n        <button-ui icon=\"list\" variant=\"ghost\" size=\"sm\"></button-ui>\n        <button-ui icon=\"code\" variant=\"ghost\" size=\"sm\"></button-ui>\n      </row-ui>\n      <row-ui gap=\"2\">\n        <button-ui text=\"Share\" variant=\"outline\" size=\"sm\" icon=\"share\"></button-ui>\n        <button-ui text=\"Publish\" variant=\"primary\" size=\"sm\" icon=\"globe\"></button-ui>\n      </row-ui>\n    </header>\n\n    <section style=\"flex:1; display:flex; overflow:hidden;\">\n      <section data-chunk-slot=\"editor\" style=\"flex:1; padding:var(--a-space-4); overflow:auto;\">\n        <stack-ui gap=\"3\" style=\"max-width:720px; margin:0 auto;\">\n          <input-ui placeholder=\"Document title\" size=\"lg\" style=\"font-weight:600;\"></input-ui>\n          <textarea-ui placeholder=\"Start writing…\" style=\"min-height:400px; resize:vertical;\"></textarea-ui>\n        </stack-ui>\n      </section>\n\n      <aside data-chunk-slot=\"preview\" style=\"width:360px; border-left:1px solid var(--a-border-subtle); padding:var(--a-space-3); overflow:auto; background:var(--a-bg-subtle);\">\n        <stack-ui gap=\"3\">\n          <text-ui strong size=\"sm\">Preview</text-ui>\n          <card-ui padding=\"md\">\n            <section>\n              <text-ui color=\"subtle\">Rendered preview will appear here.</text-ui>\n            </section>\n          </card-ui>\n        </stack-ui>\n      </aside>\n    </section>\n  </section>\n\n  <aside data-chunk-slot=\"metadata\" style=\"width:240px; border-left:1px solid var(--a-border-subtle); padding:var(--a-space-3); overflow:auto;\">\n    <stack-ui gap=\"4\">\n      <text-ui strong size=\"sm\">Metadata</text-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Status</label-ui>\n        <select-ui>\n          <option>Draft</option>\n          <option>Review</option>\n          <option>Published</option>\n        </select-ui>\n      </stack-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Tags</label-ui>\n        <input-ui placeholder=\"Add tags…\"></input-ui>\n      </stack-ui>\n      <stack-ui gap=\"1\">\n        <label-ui>Author</label-ui>\n        <row-ui gap=\"2\" align=\"center\">\n          <avatar-ui size=\"sm\" src=\"/avatar.png\"></avatar-ui>\n          <text-ui size=\"sm\">Alex Chen</text-ui>\n        </row-ui>\n      </stack-ui>\n    </stack-ui>\n  </aside>\n</article>",
  "source": "catalog/page-shells/app/doc-editor/doc-editor.contents.html",
  "metadata": {
    "domain": "layout",
    "description": "Document editor shell — full-height split-pane editor with code pane and preview.",
    "keywords": [
      "editor",
      "shell",
      "document",
      "split",
      "pane",
      "code",
      "preview",
      "full",
      "height"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "button",
      "component": "Button",
      "icon": "bold",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "italic",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "column",
      "component": "Column"
    },
    {
      "id": "button-3",
      "component": "Button",
      "icon": "list",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "button-4",
      "component": "Button",
      "icon": "code",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "button",
        "button-2",
        "column",
        "button-3",
        "button-4"
      ]
    },
    {
      "id": "button-5",
      "component": "Button",
      "icon": "share",
      "size": "sm",
      "text": "Share",
      "variant": "outline"
    },
    {
      "id": "button-6",
      "component": "Button",
      "icon": "globe",
      "size": "sm",
      "text": "Publish",
      "variant": "primary"
    },
    {
      "id": "row-2",
      "component": "Row",
      "gap": "2",
      "children": [
        "button-5",
        "button-6"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "data-chunk-slot": "toolbar",
      "children": [
        "row",
        "row-2"
      ]
    },
    {
      "id": "input",
      "component": "Input",
      "placeholder": "Document title"
    },
    {
      "id": "text-area",
      "component": "TextArea",
      "placeholder": "Start writing…"
    },
    {
      "id": "stack",
      "component": "Stack",
      "children": [
        "input",
        "text-area"
      ]
    },
    {
      "id": "section-3",
      "component": "Section",
      "data-chunk-slot": "editor",
      "children": [
        "stack"
      ]
    },
    {
      "id": "text",
      "component": "Text",
      "size": "sm",
      "strong": true,
      "textContent": "Preview"
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "textContent": "Rendered preview will appear here."
    },
    {
      "id": "section-4",
      "component": "Section",
      "children": [
        "column-2"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "children": [
        "text-2"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "padding": "md",
      "children": [
        "section-4"
      ]
    },
    {
      "id": "stack-2",
      "component": "Stack",
      "children": [
        "text",
        "card"
      ]
    },
    {
      "id": "sidebar",
      "component": "Sidebar",
      "data-chunk-slot": "preview",
      "children": [
        "stack-2"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "section-3",
        "sidebar"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "header",
        "section-2"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "size": "sm",
      "strong": true,
      "textContent": "Metadata"
    },
    {
      "id": "text-4",
      "component": "Text",
      "textContent": "Status",
      "variant": "body"
    },
    {
      "id": "choice-picker",
      "component": "ChoicePicker",
      "options": [
        {
          "value": "Draft",
          "label": "Draft"
        },
        {
          "value": "Review",
          "label": "Review"
        },
        {
          "value": "Published",
          "label": "Published"
        }
      ]
    },
    {
      "id": "stack-4",
      "component": "Stack",
      "children": [
        "text-4",
        "choice-picker"
      ]
    },
    {
      "id": "text-5",
      "component": "Text",
      "textContent": "Tags",
      "variant": "body"
    },
    {
      "id": "input-2",
      "component": "Input",
      "placeholder": "Add tags…"
    },
    {
      "id": "stack-5",
      "component": "Stack",
      "children": [
        "text-5",
        "input-2"
      ]
    },
    {
      "id": "text-6",
      "component": "Text",
      "textContent": "Author",
      "variant": "body"
    },
    {
      "id": "avatar",
      "component": "Avatar",
      "size": "sm",
      "src": "/avatar.png"
    },
    {
      "id": "text-7",
      "component": "Text",
      "size": "sm",
      "textContent": "Alex Chen"
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "avatar",
        "text-7"
      ]
    },
    {
      "id": "stack-6",
      "component": "Stack",
      "children": [
        "text-6",
        "row-3"
      ]
    },
    {
      "id": "stack-3",
      "component": "Stack",
      "children": [
        "text-3",
        "stack-4",
        "stack-5",
        "stack-6"
      ]
    },
    {
      "id": "sidebar-2",
      "component": "Sidebar",
      "data-chunk-slot": "metadata",
      "children": [
        "stack-3"
      ]
    },
    {
      "id": "column-6",
      "component": "Column",
      "children": [
        "section",
        "sidebar-2"
      ]
    },
    {
      "id": "section-5",
      "component": "Section",
      "children": [
        "column-6"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "section-5"
      ]
    }
  ]
}
