Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { SparkTable, createMetricSeries, type SparkRow } from "@/components/bjork-ui/charts/spark-table"export default function SparkTableDemo() { const rows: SparkRow[] = [ { id: "revenue", label: "Revenue", sublabel: "USD", data: createMetricSeries(1, 90, { base: 120000, trend: 0.2 }), format: (v: number) => `$${Math.round(v / 1000)}k`, }, { id: "users", label: "Active users", data: createMetricSeries(2, 90, { base: 8400, trend: 0.1 }), }, { id: "churn", label: "Churn", sublabel: "%", data: createMetricSeries(3, 90, { base: 3.2, trend: -0.15, noise: 0.05 }), format: (v: number) => `${v.toFixed(1)}%`, goodDirection: "down", }, ] return <SparkTable rows={rows} periodLabel="Last 90 days" className="w-full max-w-lg" />}