{
  "name": "agent-command-palette-search",
  "kind": "block",
  "primary": "section",
  "page": "/catalog/ui-patterns/v050-agent-blocks/v050-agent-blocks.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<section>\n    <card-ui>\n      <header>\n        <search-ui placeholder=\"Ask, search, or run a tool…\" autofocus></search-ui>\n      </header>\n      <section>\n        <col-ui gap=\"3\">\n          <col-ui gap=\"1\">\n            <text-ui size=\"sm\" color=\"subtle\" tracking=\"wide\">AI-SUGGESTED</text-ui>\n            <button-ui icon=\"sparkle\" text=\"Summarize this page\" variant=\"ghost\" stretch></button-ui>\n            <button-ui icon=\"sparkle\" text=\"Translate to French\" variant=\"ghost\" stretch></button-ui>\n          </col-ui>\n          <col-ui gap=\"1\">\n            <text-ui size=\"sm\" color=\"subtle\" tracking=\"wide\">TOOLS</text-ui>\n            <button-ui icon=\"magnifying-glass\" text=\"Search corpus\" variant=\"ghost\" stretch></button-ui>\n            <button-ui icon=\"play\" text=\"Generate UI\" variant=\"ghost\" stretch></button-ui>\n            <button-ui icon=\"copy\" text=\"Copy as A2UI JSON\" variant=\"ghost\" stretch></button-ui>\n          </col-ui>\n          <col-ui gap=\"1\">\n            <text-ui size=\"sm\" color=\"subtle\" tracking=\"wide\">NAVIGATION</text-ui>\n            <button-ui icon=\"house\" text=\"Go to home\" variant=\"ghost\" stretch></button-ui>\n            <button-ui icon=\"gear\" text=\"Open settings\" variant=\"ghost\" stretch></button-ui>\n          </col-ui>\n        </col-ui>\n      </section>\n    </card-ui>\n  </section>",
  "source": "catalog/ui-patterns/v050-agent-blocks/v050-agent-blocks.contents.html",
  "metadata": {
    "domain": "agent",
    "description": "Command palette specialized for agent actions — search input with AI-suggested commands + tool shortcuts.",
    "keywords": [
      "command",
      "palette",
      "agent",
      "search",
      "ai",
      "actions",
      "tools",
      "ctrl-k",
      "cmdk",
      "shortcuts",
      "suggestions"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "search-ui",
      "component": "search-ui",
      "placeholder": "Ask, search, or run a tool…"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "search-ui"
      ]
    },
    {
      "id": "text",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "AI-SUGGESTED"
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "sparkle",
      "stretch": true,
      "text": "Summarize this page",
      "variant": "ghost"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "sparkle",
      "stretch": true,
      "text": "Translate to French",
      "variant": "ghost"
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "1",
      "children": [
        "text",
        "button",
        "button-2"
      ]
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "TOOLS"
    },
    {
      "id": "button-3",
      "component": "Button",
      "icon": "magnifying-glass",
      "stretch": true,
      "text": "Search corpus",
      "variant": "ghost"
    },
    {
      "id": "button-4",
      "component": "Button",
      "icon": "play",
      "stretch": true,
      "text": "Generate UI",
      "variant": "ghost"
    },
    {
      "id": "button-5",
      "component": "Button",
      "icon": "copy",
      "stretch": true,
      "text": "Copy as A2UI JSON",
      "variant": "ghost"
    },
    {
      "id": "column-3",
      "component": "Column",
      "gap": "1",
      "children": [
        "text-2",
        "button-3",
        "button-4",
        "button-5"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "NAVIGATION"
    },
    {
      "id": "button-6",
      "component": "Button",
      "icon": "house",
      "stretch": true,
      "text": "Go to home",
      "variant": "ghost"
    },
    {
      "id": "button-7",
      "component": "Button",
      "icon": "gear",
      "stretch": true,
      "text": "Open settings",
      "variant": "ghost"
    },
    {
      "id": "column-4",
      "component": "Column",
      "gap": "1",
      "children": [
        "text-3",
        "button-6",
        "button-7"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "3",
      "children": [
        "column-2",
        "column-3",
        "column-4"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "children": [
        "card"
      ]
    }
  ]
}
