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 { useState } from "react"import { AnimatedList, AnimatedListItem } from "@/components/motiq/animated-list"import { Button } from "@/components/ui/button"const initialItems = [ { id: 1, label: "Review pull request" }, { id: 2, label: "Update project docs" }, { id: 3, label: "Deploy to staging" },]export default function AnimatedListDemo() { const [items, setItems] = useState(initialItems) const addItem = () => { setItems((prev) => { const nextId = prev.reduce((max, item) => Math.max(max, item.id), 0) + 1 return [...prev, { id: nextId, label: `Task ${nextId}` }] }) } const removeItem = (id: number) => { setItems((prev) => prev.filter((item) => item.id !== id)) } return ( <div className="flex w-full max-w-sm flex-col gap-4"> <AnimatedList> {items.map((item, index) => ( <AnimatedListItem key={item.id} index={index}> <div className="flex items-center justify-between gap-2"> <span>{item.label}</span> <Button variant="ghost" size="sm" onClick={() => removeItem(item.id)}> Remove </Button> </div> </AnimatedListItem> ))} </AnimatedList> <Button variant="outline" onClick={addItem}> Add task </Button> </div> )}