

Every state


default


hover


focus


inspect


eight-weeks
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | "Orders per day" | Title text. |
| subtitle | string | null | "Last 20 weeks" | Line under the title. Null or left out: none. |
| start | string | "2026-07-13" | The first day, ISO ("2026-07-13"). Start on the first day of a week so rows line up with the day labels. |
| values | number[] | wave(138) | One count per day from `start`, oldest first. Days after the last value are drawn empty. |
| unit | string | "orders" | What a count counts ("orders"). |
| dayNames | string[] | ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] | Short names of the seven rows, from the start day's weekday on. Mon, Wed and Fri-style rows get a label. |
| lessLabel | string | "Less" | Ends of the key. |
| moreLabel | string | "More" | More label. |
| summary | { weeks: string; busiest: string } | null | { weeks: "weeks", busiest: "Busiest" } | Words in the summary line: "{total} {unit} in {weeks} weeks" and "busiest". Null: no summary line. |
| locale | string | "en-IE" | Locale for numbers and dates. |
| defaultActive | number | null | null | The day the readout starts on (index). Left out: the last day with a value. |
| className | string | – | Extra classes on the outer element. |
More chart cards
All 8chart-card-07 is in UI ProGet UI Pro, €199


