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 } from '@/components/ui/button'import { Card, CardContent, CardFooter } from '@/components/ui/card'import { ImageCropper, ImageCropperCropArea, ImageCropperImage, ImageCropperViewport,} from '@/components/ui/image-cropper/ImageCropper'import { photoImage } from '@/preview/images'export default function ImageCropperDemo() { return ( <Card className='w-full max-w-md'> <CardContent> <ImageCropper> <ImageCropperViewport> <ImageCropperImage src={photoImage('portrait headshot', 800, 800)} alt='Avatar to crop' /> <ImageCropperCropArea /> </ImageCropperViewport> </ImageCropper> </CardContent> <CardFooter className='justify-end gap-2'> <Button variant='outline'>Cancel</Button> <Button>Save</Button> </CardFooter> </Card> )}