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 { registrationFormSchema as schema } from "@/components/json-form/dummy-data"import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"import { Checkbox } from "@/components/ui/checkbox"import { Input } from "@/components/ui/input"import { Label } from "@/components/ui/label"export default function JsonFormFixturesDemo() { const fields = schema.fields.filter( (field) => field.type !== "section" && field.type !== "divider" && field.type !== "hidden" ) return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>{schema.meta?.title}</CardTitle> <CardDescription>{schema.meta?.description}</CardDescription> </CardHeader> <CardContent> <div className="grid gap-4"> {fields.map((field) => field.type === "checkbox" ? ( <div key={field.name} className="flex items-center gap-2"> <Checkbox id={field.name} /> <Label htmlFor={field.name}>{field.label}</Label> </div> ) : ( <div key={field.name} className="grid gap-2"> <Label htmlFor={field.name}>{field.label}</Label> <Input id={field.name} type={field.type === "password" ? "password" : field.type === "email" ? "email" : "text"} /> </div> ) )} </div> </CardContent> <CardFooter> <Button className="w-full">Create account</Button> </CardFooter> </Card> )}