Image crop dialog
- from @zriz
- by pqoqubbw <https://zriz.dev>
A dialog that crops any image with an aspect ratio switch and rotate, and returns 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-dialogRegistry dependencies3
- button
- dialog
- cropper
