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 { DetailPanel } from "@/components/detail-panel/detail-panel";import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";export default function DetailPanelDemo() { return ( <DetailPanel selection={{ type: "order", id: "ORD-1042" }} ariaLabel="Order details" className="h-96 w-full max-w-md" > <DetailPanel.Header> <div className="grid gap-0.5"> <p className="text-sm font-semibold">Order ORD-1042</p> <p className="text-xs text-muted-foreground">Placed on March 3, 2025</p> </div> <Badge variant="secondary">Shipped</Badge> </DetailPanel.Header> <DetailPanel.Body> <dl className="grid gap-3 text-sm"> <div className="flex justify-between"> <dt className="text-muted-foreground">Customer</dt> <dd>Olivia Martin</dd> </div> <div className="flex justify-between"> <dt className="text-muted-foreground">Items</dt> <dd>3</dd> </div> <div className="flex justify-between"> <dt className="text-muted-foreground">Total</dt> <dd>$128.00</dd> </div> </dl> </DetailPanel.Body> <DetailPanel.Actions> <Button variant="outline" size="sm">Edit</Button> <Button size="sm">Track order</Button> </DetailPanel.Actions> </DetailPanel> )}