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 { ReceiptPrinter } from "@/components/ui/receipt-printer"export default function ReceiptPrinterDemo() { return ( <ReceiptPrinter.Root stage="printing"> <ReceiptPrinter.Machine> <ReceiptPrinter.Header> <ReceiptPrinter.Status /> </ReceiptPrinter.Header> <ReceiptPrinter.Screen>AMOUNT $24.00</ReceiptPrinter.Screen> </ReceiptPrinter.Machine> <ReceiptPrinter.Output> <ReceiptPrinter.Paper> <div className="space-y-2 text-xs"> <p className="text-center font-semibold">Corner Coffee Co.</p> <div className="flex justify-between"> <span>Latte</span> <span>$4.50</span> </div> <div className="flex justify-between"> <span>Blueberry muffin</span> <span>$3.25</span> </div> <div className="flex justify-between font-semibold"> <span>Total</span> <span>$24.00</span> </div> <p className="pt-2 text-center">Thank you!</p> </div> </ReceiptPrinter.Paper> </ReceiptPrinter.Output> </ReceiptPrinter.Root> )}