{
  "name": "editor-code-pane",
  "kind": "block",
  "primary": "section",
  "page": "/catalog/ui-patterns/app/editor-code-pane/editor-code-pane.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<section\n  style=\"display:flex; flex-direction:column; height:100%;\">\n  <header>\n    <row-ui gap=\"2\" align=\"center\">\n      <button-ui text=\"Run\" variant=\"primary\" size=\"sm\" icon=\"play\"></button-ui>\n      <button-ui text=\"Save\" variant=\"outline\" size=\"sm\" icon=\"floppy-disk\"></button-ui>\n    </row-ui>\n  </header>\n  <section style=\"flex:1; padding:8px; background:var(--a-bg-chrome);\">\n    <textarea-ui placeholder=\"// Write your code here\" style=\"height:100%; width:100%; font-family:monospace;\"></textarea-ui>\n  </section>\n</section>",
  "source": "catalog/ui-patterns/app/editor-code-pane/editor-code-pane.contents.html",
  "metadata": {
    "domain": "layout",
    "description": "Code editor pane with file-tabs header, line-numbered code surface, and status bar footer.",
    "keywords": [
      "editor",
      "code",
      "pane",
      "tabs",
      "ide",
      "line-numbers",
      "syntax-highlighting",
      "monaco",
      "codemirror"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "button",
      "component": "Button",
      "icon": "play",
      "size": "sm",
      "text": "Run",
      "variant": "primary"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "floppy-disk",
      "size": "sm",
      "text": "Save",
      "variant": "outline"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "button",
        "button-2"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "row"
      ]
    },
    {
      "id": "text-area",
      "component": "TextArea",
      "placeholder": "// Write your code here"
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-area"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "children": [
        "header",
        "section"
      ]
    }
  ]
}
