Image crop field
- from @zriz
- by pqoqubbw <https://zriz.dev>
A form field that crops the chosen image in place and submits the crop as a file.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @zriz/image-crop-fieldRegistry dependencies2
- button
- cropper
