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 { useState } from "react"import { SegmentedControl } from "@/components/ui/segmented-control"export default function SegmentedControlDemo() { const [period, setPeriod] = useState<"monthly" | "yearly">("monthly") return ( <div className="flex flex-col items-center gap-4"> <SegmentedControl aria-label="Billing period" value={period} onValueChange={setPeriod} options={[ { value: "monthly", label: "Monthly" }, { value: "yearly", label: "Yearly", badge: "-20%" }, ]} /> <p className="text-sm text-muted-foreground"> Selected: {period === "monthly" ? "Monthly billing" : "Yearly billing"} </p> </div> )}