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 AIApproval, { type AIApprovalOption } from "@/components/smoothui/ai-approval/index"const options: AIApprovalOption[] = [ { id: "approve", label: "Approve", detail: "Deploy now" }, { id: "review", label: "Request review" }, { id: "reject", label: "Reject", destructive: true },]export default function AIApprovalDemo() { return ( <AIApproval className="w-full max-w-md" question="Deploy v2.4.1 to production?" options={options} onDecide={(option) => console.log(option.id)} > The agent will roll out 12 changed files across 3 services. </AIApproval> )}