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 { JsonForm, type FormSchema } from "@/components/json-form/json-form"const schema: FormSchema = { fields: [ { name: "name", type: "text", label: "Name", placeholder: "Olivia Martin", validators: { required: true } }, { name: "email", type: "email", label: "Email", placeholder: "m@example.com", validators: { required: true, email: true } }, { name: "plan", type: "select", label: "Plan", options: [ { value: "starter", label: "Starter" }, { value: "pro", label: "Pro" }, { value: "team", label: "Team" }, ], }, { name: "newsletter", type: "switch", label: "Subscribe to the newsletter" }, ],}export default function JsonFormDemo() { return ( <JsonForm className="w-full max-w-md" schema={schema} defaultValues={{ name: "", email: "", plan: "pro", newsletter: false }} showSchemaHeader={false} onSubmit={async ({ values }) => { console.log(values) }} /> )}