<KPI>
Single metric tile with optional trend indicator.
When to use: Use for headline numbers (manual hours, error rate, ROI). Always inside a <KPIGrid>.
Often with: KPIGrid
Preview
| Prop | Type | Notes |
|---|---|---|
| label | string | Required. Short metric label.Example: Manual hours / week |
| value | ReactNode | Required. The displayed value.Example: 142 |
| trend | "up" | "down" | "flat" | "baseline" | Optional. Default: baseline. Movement direction. 'baseline' means this is a starting measurement.Values: up, down, flat, baselineExample: down |
| trendValue | string | Optional. Magnitude of the trend.Example: −42% |
| isPositiveDirection | "higher" | "lower" | Optional. Default: lower. Whether higher is better. Affects whether up/down arrow is green or red.Values: higher, lowerExample: lower |
| description | string | Optional. Optional supporting line beneath the value.Example: Across operations, finance and HR |
Examples
<KPI label="Manual hours / week" value="142" description="Across operations, finance and HR" trend="baseline" />