zriz
zriz.dev · Components · Open source
Headless image cropper for React with a straighten dial, pinch zoom, rotate, flip and circle crop, like the iOS Photos crop tool.
What it is
A TypeScript image cropper you build from parts, so you control the layout and style. It has a straighten dial up to 45 degrees, drag and pinch zoom, quarter turns, mirroring, aspect ratios and a round mask for avatars. It exports the crop off the main thread or as data your server can use, and has keyboard controls and screen reader labels.
Is it for you?
- Made for
- React and Next.js developers who need avatar, profile picture or cover photo cropping.
- You need
- React or Next.js. The core also works with plain JavaScript
- Price
- Open source (MIT)
What you can do with it
- Cropping profile pictures to a circle
- Letting users straighten and crop cover photos
- Saving crop settings to undo or redo later
- Building a custom-styled photo editor step
Good to know: Still an early version (0.3.0 on the site).



