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 { DownloadIcon, FileTextIcon, XIcon } from "lucide-react"import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentMedia, AttachmentTitle,} from "@/components/ui/attachment"import { photoImage } from "@/preview/images"export default function AttachmentDemo() { return ( <div className="flex w-full max-w-sm flex-col gap-3"> <Attachment state="done"> <AttachmentMedia> <FileTextIcon /> </AttachmentMedia> <AttachmentContent> <AttachmentTitle>report.pdf</AttachmentTitle> <AttachmentDescription>2.4 MB</AttachmentDescription> </AttachmentContent> <AttachmentActions> <AttachmentAction aria-label="Download"> <DownloadIcon /> </AttachmentAction> <AttachmentAction aria-label="Remove"> <XIcon /> </AttachmentAction> </AttachmentActions> </Attachment> <Attachment state="uploading"> <AttachmentMedia variant="image"> <img src={photoImage("beach", 96, 96)} alt="" /> </AttachmentMedia> <AttachmentContent> <AttachmentTitle>beach.jpg</AttachmentTitle> <AttachmentDescription>Uploading 60%</AttachmentDescription> </AttachmentContent> </Attachment> </div> )}