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 { ImageHotspots } from "@/components/image-hotspots"import { photoImage } from "@/preview/images"export default function ImageHotspotsDemo() { return ( <div className="w-full max-w-lg"> <ImageHotspots label="Running shoe, feature points" aspect={4 / 3} defaultActive={0} image={ <img src={photoImage("running shoes", 800, 600)} alt="" className="size-full object-cover" /> } hotspots={[ { x: 0.32, y: 0.55, title: "Midsole", body: "Foam that returns energy on every stride." }, { x: 0.7, y: 0.35, title: "Upper", body: "Breathable mesh with a seamless heel." }, { x: 0.5, y: 0.8, title: "Outsole", body: "Rubber lugs that grip wet pavement." }, ]} /> </div> )}