← benches

KPI card — Phase 2 (<elect-kpi>)

The proof-1 KPI card as a Web Component (optional trend sparkline in the brand color). Direction ≠ sentiment: the arrow is the direction, the color is good/bad for that metric (good-direction). The host gives the formatted numbers — we display, we don't compute.

Direction ≠ sentiment

Try it

Theme set on a container (not :root)

The theme below is applied to this box only — the card must follow it.