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 { InsightCards } from "@/components/spectrumui/blocks/ai-assistants/insight-cards"export default function InsightCardsDemo() { return ( <InsightCards insights={[ { id: "rev", label: "Revenue", value: "$48,200", change: 12.4, spark: [30, 45, 40, 60, 75] }, { id: "churn", label: "Churn", value: "2.1%", change: -0.6, note: "Churn dropped after the onboarding update." }, { id: "users", label: "Active users", value: "8,914", change: 4.2, spark: [50, 55, 48, 62, 70, 68, 80], note: "Most growth came from returning customers." }, { id: "nps", label: "NPS", value: "54", spark: [40, 42, 45, 44, 50] }, ]} /> )}