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 { PromoCode } from "@/components/ui/promo-code"export default function PromoCodeDemo() { return ( <PromoCode className="w-full max-w-sm" defaultOpen onApply={async (code) => { await new Promise((resolve) => setTimeout(resolve, 600)) if (code !== "SPRING20") throw new Error(`${code} isn't a valid code`) return { code, label: "20% off" } }} /> )}