

Every state


default


hover


focus


inspect


six-groups
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | "Revenue by quarter" | Title text. |
| subtitle | string | null | "This year against last year" | Line under the title. Null or left out: none. |
| groups | ChartCardComparisonGroup[] | [ { short: "Q1", label: "Q1, Jan to Mar" }, { short: "Q2", label: "Q2, Apr to Jun" }, { short: "Q3", label: "Q3, Jul … | Groups. |
| current | ChartCardComparisonSeries | { label: "2026", values: [48200, 56900, 61400, 52300] } | The series drawn solid, usually now. |
| previous | ChartCardComparisonSeries | { label: "2025", values: [41800, 47100, 58800, 63500] } | The series drawn outlined, usually before. |
| changeLabel | string | null | "vs 2025" | Words after the change in the readout ("vs 2025"). Null: no change shown. |
| format | Intl.NumberFormatOptions | { style: "currency", currency: "EUR", maximumFractionDigits: 0 } | Number style for the readout and the table. Bars always show the compact form. |
| locale | string | "en-IE" | Locale for numbers and dates. |
| defaultActive | number | null | null | The group the readout starts on (index). Left out: the last group. |
| className | string | – | Extra classes on the outer element. |
More chart cards
All 8chart-card-03 is in UI ProGet UI Pro, €199


