{
  "name": "card-with-sparkline",
  "kind": "block",
  "primary": "div",
  "page": "/packages/web-components/components/card/card.examples.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "data-artifact-item": "",
    "data-artifact-label": "card with sparkline chart"
  },
  "html": "<card-ui style=\"max-width:320px\">\n        <header>\n          <h3>Weekly signups</h3>\n          <text-ui slot=\"description\">Last 7 days</text-ui>\n        </header>\n        <section>\n          <col-ui gap=\"2\">\n            <text-ui variant=\"display\">284</text-ui>\n            <chart-ui type=\"line\" height=\"60\"\n              data-stream-src=\"\"\n              style=\"--chart-line-color:var(--a-primary)\">\n            </chart-ui>\n          </col-ui>\n        </section>\n      </card-ui>",
  "source": "packages/web-components/components/card/card.examples.html",
  "metadata": {
    "domain": "data",
    "description": "Sparkline card — KPI metric above a compact line chart. Standard dashboard widget for time-series summaries.",
    "keywords": [
      "card",
      "sparkline",
      "chart",
      "line",
      "metric",
      "kpi",
      "dashboard",
      "widget",
      "time-series",
      "trend",
      "mini-chart"
    ]
  },
  "captured_at": "2026-06-10T20:25:14.783Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "heading",
      "textContent": "Weekly signups"
    },
    {
      "id": "text-2",
      "component": "Text",
      "slot": "description",
      "textContent": "Last 7 days"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "variant": "display",
      "textContent": "284"
    },
    {
      "id": "chart",
      "component": "Chart",
      "type": "line",
      "data-stream-src": ""
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-3",
        "chart"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    }
  ]
}
