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 { FileUpload, type FileUploadItem } from '@/components/motion/file-upload'const initialItems: FileUploadItem[] = [ { id: 'brief', name: 'product-brief.pdf', size: 1482000, type: 'application/pdf', progress: 100, status: 'success' }, { id: 'banner', name: 'hero-banner.png', size: 524288, type: 'image/png', progress: 64, status: 'uploading' }, { id: 'budget', name: 'budget-2025.xlsx', size: 88400, type: 'application/vnd.ms-excel', progress: 0, status: 'error', error: 'Network timeout' },]export default function FileUploadDemo() { const [items, setItems] = useState<FileUploadItem[]>(initialItems) return ( <div className='w-full max-w-lg'> <FileUpload value={items} onValueChange={setItems} /> </div> )}