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 { Button, Modal } from "react-aria-components"import { Dialog, DialogTrigger, Heading } from "@/components/ui/Dialog"export default function DialogDemo() { return ( <DialogTrigger defaultOpen> <Button className="inline-flex h-9 items-center justify-center rounded-md border bg-background px-4 text-sm font-medium shadow-xs"> Open dialog </Button> <Modal className="w-full max-w-md rounded-lg border bg-background shadow-lg"> <Dialog className="grid gap-4"> {({ close }) => ( <> <Heading slot="title" className="text-lg font-semibold leading-none"> Edit profile </Heading> <p className="text-sm text-muted-foreground"> Make changes to your profile here. Click save when you're done. </p> <div className="flex justify-end gap-2"> <Button onPress={close} className="inline-flex h-9 items-center justify-center rounded-md border bg-background px-4 text-sm font-medium" > Cancel </Button> <Button onPress={close} className="inline-flex h-9 items-center justify-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground" > Save changes </Button> </div> </> )} </Dialog> </Modal> </DialogTrigger> )}