shadcn-image-cropper
A minimal image cropper and uploader for profile pictures, built with shadcn/ui and react-image-crop.
- Category
- Libraries & Components
- Added
- GitHub stars
- 453
About
About shadcn-image-cropper
shadcn-image-cropper is a minimal cropper for images, with avatars as the main example. You click the profile picture on the demo page, choose an image, and crop it in the interface. It is built with shadcn/ui and the react-image-crop library, and the repository tags it for Next.js. A short video in the README shows the flow.
There is no registry or package: read the code on GitHub and copy the pieces into your app. The repository has no stated license and its last push dates to September 2024. It suits profile settings pages and onboarding screens where users upload a photo and you need a square or fixed-ratio crop before saving it.
shadcn-image-cropper features
5 features
- Click-to-upload profile picture
- Crop interface from react-image-crop
- Uploader and cropper in one demo
- Built with shadcn/ui
- Next.js project
What you can build with shadcn-image-cropper
3 use cases
- Letting users crop an avatar in account settings
- Cropping a cover photo before upload
- Adding a profile picture step to onboarding
Libraries & Components
Similar to shadcn-image-cropper
More libraries & components like shadcn-image-cropper: the closest by what they do, then the most starred.
Capture PhotoLibraryCapture Photo is a browser-based React component for camera features, shown in a product image dialog with Upload Files and Capture Photo tabs.
junwen-k/ui-xLibraryjunwen-k/ui-x adds components shadcn/ui lacks, including a Badge Group, imperative Confirmer dialog, Date Field and Dropzone. Accessible and open source.
Shadcn Phone Input (damianricobelli)LibraryThis Shadcn Phone Input formats numbers with libphonenumber-js and returns details through getPhoneData. Country data comes from an open database.
React PDF Flipbook ViewerLibraryReact PDF Flipbook Viewer shows a PDF as an interactive flipbook with page-turn animation, zoom, pan, fullscreen and arrow-key navigation.
Image Crop FieldLibraryImage Crop Field handles image upload, cropping, zoom and rotation in React, free or fixed aspect ratios, and plugs into React Hook Form. MIT licensed.
File UploadLibraryFile Upload from Dice UI gives shadcn/ui projects a dropzone with previews, validation and progress, installed with one shadcn CLI command.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What shadcn-image-cropper is, how to install it, its license and its alternatives.
It uses react-image-crop together with shadcn/ui components.
A minimal image cropper and uploader for profile pictures, built with shadcn/ui and react-image-crop.
shadcn-image-cropper lists Click-to-upload profile picture, Crop interface from react-image-crop, Uploader and cropper in one demo, Built with shadcn/ui and Next.js project.
The directory lists these uses for shadcn-image-cropper: Letting users crop an avatar in account settings, Cropping a cover photo before upload and Adding a profile picture step to onboarding.
shadcn-image-cropper is made by sujjeee, at https://github.com/sujjeee. Its site is https://github.com/sujjeee/shadcn-image-cropper.
shadcn-image-cropper was added to the directory on December 27, 2024.
shadcn-image-cropper is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Components, Audio and video, File upload, Inputs, Next.js, React and Open source. Each tag has a page listing the other resources that carry it.
Yes. shadcn-image-cropper's page has a Live tab beside the screenshot that loads its site in a frame.
The directory lists no install command for shadcn-image-cropper. Follow the instructions on its site at https://github.com/sujjeee/shadcn-image-cropper.
The directory lists no shadcn CLI command for shadcn-image-cropper. Check its docs at https://github.com/sujjeee/shadcn-image-cropper for how to add it.
shadcn-image-cropper's repository is https://github.com/sujjeee/shadcn-image-cropper.
The directory links no separate docs for shadcn-image-cropper; start from its site at https://github.com/sujjeee/shadcn-image-cropper.
The directory records no license for shadcn-image-cropper. Check its repository or site before you use it.
The directory records no price for shadcn-image-cropper. Its site, https://github.com/sujjeee/shadcn-image-cropper, is where its pricing, if any, is stated.
No. shadcn-image-cropper is made by sujjeee and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: Capture Photo, junwen-k/ui-x, Shadcn Phone Input (damianricobelli) and React PDF Flipbook Viewer. Their pages are linked under Similar to shadcn-image-cropper.
Open its category, Libraries & Components, or one of its tags (Components, Audio and video and File upload): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro



