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 { CalendarIcon, ListIcon, LayoutGridIcon } from "lucide-react"import { SegmentedControl } from "@/components/segmented-control"import { useState } from "react"export default function SegmentedControlDemo() { const [range, setRange] = useState("week") return ( <div className="flex w-full max-w-md flex-col gap-6"> <SegmentedControl aria-label="Date range" options={[ { value: "day", label: "Day" }, { value: "week", label: "Week" }, { value: "month", label: "Month" }, { value: "year", label: "Year" }, ]} value={range} onValueChange={setRange} /> <SegmentedControl aria-label="View mode" variant="soft" defaultValue="list" options={[ { value: "list", label: "List", icon: <ListIcon /> }, { value: "grid", label: "Grid", icon: <LayoutGridIcon /> }, { value: "calendar", label: "Calendar", icon: <CalendarIcon /> }, ]} /> </div> )}