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 { MetricList, MetricRow } from "@/components/dashboardblocks/metric-list"import { Card, CardContent } from "@/components/ui/card"export default function MetricListDemo() { return ( <Card className="@container w-full max-w-md"> <CardContent> <MetricList> <MetricRow metric={{ key: "revenue", label: "Revenue", value: 12500, previous: 11000, format: "currency", history: [9800, 10400, 10100, 11000, 12500], }} /> <MetricRow metric={{ key: "signups", label: "Signups", value: 1284, previous: 1190, format: "number", history: [1050, 1120, 1100, 1190, 1284], }} /> <MetricRow metric={{ key: "churn", label: "Churn", value: 2.4, previous: 3.1, format: "percent", goodDirection: "down", history: [3.4, 3.1, 2.9, 3.1, 2.4], }} /> </MetricList> </CardContent> </Card> )}