{
  "name": "code-snippet",
  "kind": "block",
  "primary": "card-ui",
  "page": "/apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<card-ui>\n  <header>\n    <h3>Code snippet</h3>\n    <span slot=\"action\">\n      <select-ui value=\"javascript\">\n        <option value=\"javascript\">JavaScript</option>\n        <option value=\"python\">Python</option>\n        <option value=\"typescript\">TypeScript</option>\n        <option value=\"bash\">Bash</option>\n      </select-ui>\n    </span>\n  </header>\n  <section bleed>\n    <code-ui lang=\"javascript\">const data = await client.generate(prompt);\nconsole.log(data.content);</code-ui>\n  </section>\n</card-ui>",
  "source": "apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "metadata": {
    "domain": "content",
    "description": "Code snippet block with syntax highlighting, language selector, and copy button.",
    "keywords": [
      "code",
      "snippet",
      "block",
      "syntax",
      "highlighting",
      "language",
      "selector",
      "copy",
      "button",
      "code-ui",
      "code-snippet",
      "developer",
      "documentation"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "heading",
      "textContent": "Code snippet"
    },
    {
      "id": "choice-picker",
      "component": "ChoicePicker",
      "value": "javascript",
      "options": [
        {
          "value": "javascript",
          "label": "JavaScript"
        },
        {
          "value": "python",
          "label": "Python"
        },
        {
          "value": "typescript",
          "label": "TypeScript"
        },
        {
          "value": "bash",
          "label": "Bash"
        }
      ]
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "action",
      "children": [
        "choice-picker"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "code",
      "component": "Code",
      "textContent": "const data = await client.generate(prompt); console.log(data.content);"
    },
    {
      "id": "section",
      "component": "Section",
      "bleed": true,
      "children": [
        "column"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "children": [
        "code"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    }
  ]
}
