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 { Comparison1 } from "@/components/dashboardblocks/comparison/comparison-01"export default function Comparison1Demo() { return ( <div className="w-full max-w-lg"> <Comparison1 title="Month over month" description="September compared with August" currentLabel="September" previousLabel="August" metrics={[ { label: "Revenue", current: 48210, previous: 42890, formatter: (value) => `$${Math.round(value).toLocaleString("en-US")}` }, { label: "Orders", current: 1284, previous: 1210 }, { label: "New customers", current: 342, previous: 318 }, { label: "Refund rate", current: 2.1, previous: 2.4, formatter: (value) => `${value.toFixed(1)}%`, differenceFormatter: (value) => `${value.toFixed(1)} pts`, goodDirection: "down" }, ]} /> </div> )}