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 { CheckIcon, Trash2Icon } from "lucide-react"import { SwipeActionGroup, SwipeActionRow } from "@/components/motiq/swipe-action-row"const tasks = [ { id: "1", title: "Design review", meta: "Today, 2:00 PM" }, { id: "2", title: "Ship release notes", meta: "Tomorrow" }, { id: "3", title: "Update onboarding copy", meta: "Friday" },]export default function SwipeActionRowDemo() { return ( <SwipeActionGroup> <div className="flex w-full max-w-md flex-col gap-2"> {tasks.map((task, i) => ( <SwipeActionRow key={task.id} label={task.title} defaultOpen={i === 0 ? "left" : null} leftActions={[{ id: "done", label: "Done", icon: <CheckIcon />, tone: "success" }]} rightActions={[{ id: "delete", label: "Delete", icon: <Trash2Icon />, destructive: true }]} > <p className="text-sm font-medium">{task.title}</p> <p className="text-xs text-muted-foreground">{task.meta}</p> </SwipeActionRow> ))} </div> </SwipeActionGroup> )}