Skip to Content

KPI Sparklines

A grid of six product-health KPI tiles, each with a delta and sparkline, and a 7/30/90-day period selector.

Installation

pnpm dlx shadcn@latest add @01orbital/kpi-sparklines-01

Make it yours

  • Its words are in COPY at the top of components/blocks/metrics/kpi-sparklines-01/index.tsx: change them there, not in the markup.
  • RANGES and METRICS, also at the top of the file, hold its lists and settings.

Built from

npm: @phosphor-icons/react, cn. The CLI installs them for you.

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on