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 { DragHandle, SwapyItem, SwapyLayout, SwapySlot } from "@/components/ui/swapy"const items = [ { id: "a", label: "Revenue", value: "$12,400" }, { id: "b", label: "Users", value: "1,284" }, { id: "c", label: "Orders", value: "356" }, { id: "d", label: "Refunds", value: "12" },]export default function SwapyDemo() { return ( <SwapyLayout id="dashboard" className="grid w-full max-w-lg grid-cols-2 gap-4"> {items.map((item) => ( <SwapySlot key={item.id} id={item.id}> <SwapyItem id={item.id}> <div className="relative rounded-md border bg-background p-6 pl-9"> <DragHandle /> <p className="text-sm text-muted-foreground">{item.label}</p> <p className="text-2xl font-semibold">{item.value}</p> </div> </SwapyItem> </SwapySlot> ))} </SwapyLayout> )}