Stat Delta Spark Card
A production-scale, light + dark Stat Delta Spark Card component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add stat-delta-spark-cardUsage
import { StatDeltaSparkCard } from "@lerpa/ui";
<StatDeltaSparkCard />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| value | string | — | |
| delta | number | — | |
| series | number[] | — | |
| unit | string | — | |
| accent | string | — | |
| period | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.