Spark table
A metrics table where every row carries its own sparkline and every sparkline shares one crosshair. Scrub any row and the whole table rewinds to that day, with each value counting to it. Up and down select the row drawn in the accent.
npx shadcn add @bjork-ui/spark-table
import { SparkTable } from "@/components/bjork-ui/charts/spark-table";<SparkTable periodLabel="Last 90 days" rows={[ { id: "mrr", label: "MRR", data: mrr, format: (v) => `$${(v / 1000).toFixed(1)}K` }, { id: "churn", label: "Churn", data: churn, goodDirection: "down" }, ]}/>