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 { Archive, Reply, Star, Trash2 } from "lucide-react"import { SwipeableList, type SwipeableListItem } from "@/components/motion/swipeable-list"const items: SwipeableListItem[] = [ { id: "1", title: "Design review", description: "Lena shared the updated onboarding flow.", meta: "9:41", leftActions: [{ id: "star", label: "Star", icon: <Star />, tone: "warning" }], rightActions: [ { id: "archive", label: "Archive", icon: <Archive />, tone: "primary" }, { id: "delete", label: "Delete", icon: <Trash2 />, tone: "danger" }, ], }, { id: "2", title: "Invoice #2048", description: "Payment is due on Friday.", meta: "Yesterday", leftActions: [{ id: "reply", label: "Reply", icon: <Reply />, tone: "success" }], rightActions: [ { id: "archive", label: "Archive", icon: <Archive />, tone: "primary" }, { id: "delete", label: "Delete", icon: <Trash2 />, tone: "danger" }, ], }, { id: "3", title: "Team lunch", description: "Thursday at noon, the usual place.", meta: "Mon", leftActions: [{ id: "star", label: "Star", icon: <Star />, tone: "warning" }], rightActions: [{ id: "archive", label: "Archive", icon: <Archive />, tone: "primary" }], },]export default function SwipeableListDemo() { return ( <SwipeableList items={items} defaultValue={{ id: "2", side: "right" }} className="max-w-md" /> )}