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 { useState } from "react"import { Button } from "@/components/ui/button"import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"import { Label } from "@/components/ui/label"import { NumberFormat, NumberFormatProvider,} from "@/components/ui/preskok-ui/number-format/number-format"export default function NumberFormatDemo() { const [price, setPrice] = useState<number | null>(1234.5) return ( <NumberFormatProvider> <Card className="w-full max-w-sm"> <CardHeader /> <CardContent> <div className="grid gap-2"> <Label htmlFor="price">Price</Label> <NumberFormat id="price" value={price} onValue={setPrice} isCurrency className="h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 md:text-sm" /> </div> </CardContent> <CardFooter className="flex-col gap-2"> <Button className="w-full">Save</Button> </CardFooter> </Card> </NumberFormatProvider> )}