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 { LoadMore } from "@/components/ui/load-more"const PAGE_SIZE = 4const TOTAL = 12const all = Array.from({ length: TOTAL }, (_, i) => ({ id: `item-${i + 1}`, text: `Order #${1000 + i + 1} shipped`,}))export default function LoadMoreDemo() { const [count, setCount] = useState(PAGE_SIZE) const items = all.slice(0, count) const hasMore = count < TOTAL return ( <div className="w-full max-w-md"> <LoadMore listLabel="Activity" listClassName="gap-2" hasMore={hasMore} total={TOTAL} onLoadMore={async () => { await new Promise((resolve) => setTimeout(resolve, 600)) setCount((c) => Math.min(c + PAGE_SIZE, TOTAL)) }} > {items.map((item) => ( <div key={item.id} className="rounded-md border px-3 py-2 text-sm"> {item.text} </div> ))} </LoadMore> </div> )}