Skip to content
R

react-cropper

Cropper as React Component

by roadmanfongFree

#173in UI Libraries
0In stores

Description

react-cropper is a React component that wraps Cropper.js, a JavaScript library for cropping images in the browser. You use it as a React com…

Highlights

  • Cropper.js as a React component
  • Passes Cropper.js options as props
  • Access to cropper methods through onInitialized
  • Installs from npm
  • Live demo and docs
  • MIT licensed

Ratings & Reviews

No ratings yet

Be the first to rate react-cropper.

People also visit

R

react-image-crop

A responsive image cropping tool for React

UI Libraries
Launch
V

vue-croppie

Yet another image cropper

UI Libraries
Launch
V

vue-advanced-cropper

An advanced cropper that gives you opportunity to create almost any cropper

UI Libraries
Launch
R

react-images-viewer

Create an react-images-viewer component

UI Libraries
Launch
R

react-avatar-editor

Avatar / profile picture component

UI Libraries
Launch
V

vue-picture-cropper

A simple and easy-to-use picture cropping component for Vue 3

UI Libraries
Launch

react-cropper FAQ

What is react-cropper?

A React component that wraps Cropper.js for cropping images in the browser.

How do I install it?

Install it from npm, and include the cropper.css file from Cropper.js in your project, as the README describes.

How do I call cropper methods?

Use the cropper instance that the onInitialized callback gives you.

Which options can I set?

The src, alt and crossOrigin attributes, plus Cropper.js options such as dragMode, scaleX, scaleY, zoomTo and rotateTo. Any other Cropper.js option can be passed as a property.

Is it free?

Yes. It is licensed under MIT.

Is there a demo?

Yes. The README links a live demo and the Cropper.js documentation.

What are the best react-cropper alternatives?

Popular alternatives to react-cropper include react-image-crop, vue-croppie and vue-advanced-cropper. See all react-cropper alternatives

Developer Stuff

Badges