{
  "name": "table-empty-state",
  "kind": "block",
  "primary": "div",
  "page": "/packages/web-components/components/table/table.examples.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "data-artifact-item": "",
    "data-artifact-label": "table with empty state"
  },
  "html": "<card-ui>\n        <section bleed>\n          <table-ui>\n            <table>\n              <thead><tr><th>Name</th><th>Status</th><th>Date</th></tr></thead>\n              <tbody>\n                <tr>\n                  <td colspan=\"3\">\n                    <empty-state-ui icon=\"list\" heading=\"No records yet\" description=\"Records will appear here once added.\">\n                      <button-ui slot=\"action\" text=\"+ Add first record\" variant=\"primary\"></button-ui>\n                    </empty-state-ui>\n                  </td>\n                </tr>\n              </tbody>\n            </table>\n          </table-ui>\n        </section>\n      </card-ui>",
  "source": "packages/web-components/components/table/table.examples.html",
  "metadata": {
    "domain": "data",
    "description": "Empty data table — table with no rows showing an empty-state-ui placeholder with icon and CTA.",
    "keywords": [
      "table",
      "empty",
      "state",
      "no",
      "data",
      "placeholder",
      "icon",
      "cta",
      "zero",
      "rows",
      "grid",
      "list"
    ]
  },
  "captured_at": "2026-06-10T20:25:14.783Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "textContent": "Name",
      "variant": "body"
    },
    {
      "id": "text-2",
      "component": "Text",
      "textContent": "Status",
      "variant": "body"
    },
    {
      "id": "text-3",
      "component": "Text",
      "textContent": "Date",
      "variant": "body"
    },
    {
      "id": "column-2",
      "component": "Column",
      "children": [
        "text",
        "text-2",
        "text-3"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "slot": "action",
      "text": "+ Add first record",
      "variant": "primary"
    },
    {
      "id": "empty-state",
      "component": "EmptyState",
      "description": "Records will appear here once added.",
      "heading": "No records yet",
      "icon": "list",
      "children": [
        "button"
      ]
    },
    {
      "id": "table-2",
      "component": "Table",
      "children": [
        "column-2",
        "empty-state"
      ]
    },
    {
      "id": "table",
      "component": "Table",
      "children": [
        "table-2"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "bleed": true,
      "children": [
        "column-9"
      ]
    },
    {
      "id": "column-9",
      "component": "Column",
      "children": [
        "table"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "section"
      ]
    }
  ]
}
