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 CardSwipeDeck from "@/components/smoothui/card-swipe-deck/index"import { photoImage } from "@/preview/images"const profiles = [ { id: "1", name: "Olivia Martin", bio: "Trail runner and coffee roaster." }, { id: "2", name: "Noah Bennett", bio: "Weekend photographer, weekday designer." }, { id: "3", name: "Amara Okafor", bio: "Climbing gym regular and amateur chef." },]export default function CardSwipeDeckDemo() { return ( <CardSwipeDeck labels={{ left: "Nope", right: "Like" }} items={profiles.map((p) => ({ id: p.id, content: ( <div className="flex h-full w-full flex-col"> <img alt={p.name} className="h-72 w-full object-cover" src={photoImage(p.name, 680, 520)} /> <div className="flex flex-col gap-1 p-5"> <p className="font-semibold text-lg">{p.name}</p> <p className="text-muted-foreground text-sm">{p.bio}</p> </div> </div> ), }))} /> )}