| Prop | Type | Default | Description |
|---|---|---|---|
metrics | MetricItem[] | DEFAULT_METRICS | Array of metric benchmarks to cycle through. |
autoRotateIntervalMs | number | 4500 | Interval in milliseconds between auto-advancing slides (pass 0 to disable). |
selectedIndex | number | — | Controlled active metric index. |
onIndexChange | (index: number) => void | — | Callback fired when the active metric changes. |
className | string | — | Additional CSS class names. |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for each metric item. |
label | string | Primary title label of the benchmark metric. |
percentage | number | Completion value from 0 to 100. |
previous | string | Historical comparison or delta description text. |
0.55s total window) animating dot illumination sequentially up or down.stiffness: 420, damping: 28) sliding metric titles in/out in popLayout mode.Customer Acqui.
vs 50% Previous