# react-cropper/react-cropper

Cropperjs as React component

Repository: https://github.com/react-cropper/react-cropper
Canonical: https://ross.abutalabs.com/products/react-cropper
Homepage: https://react-cropper.github.io/react-cropper/
Language: TypeScript
License: MIT
License Family: permissive
Topics: cropper, cropperjs, react-cropper, react-components, react, reactjs, crop, crop-image
Last push: 2023-09-11T20:22:16+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4137, "days_push": 1087, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2081, forks 272 (observed 2026-08-28T04:06:11.648310+00:00)

## What it is
react-cropper is a React component wrapper around Cropper.js for interactive image cropping. It exposes Cropper.js options as props and provides access to the underlying cropper instance via refs.

## Use cases
- crop profile pictures in a react app
- let users crop images before upload
- add an image cropper with aspect ratio control to a react form
- rotate and zoom images interactively in the browser
- extract cropped canvas data as a data URL
- build an avatar upload widget with cropping

## When to choose
- you use React and need an interactive client-side image cropper
- you want Cropper.js features (aspect ratio, rotation, zoom, drag) with a declarative React API
- you need typed components since it ships its own TypeScript types

## When to avoid
- you are not using React (use Cropper.js directly)
- you need server-side image cropping or processing
- you need a framework-agnostic vanilla JS solution
- you need actively developed features, as releases have slowed since 2023

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, ui-components
- domain: frontend, web-development, image-processing
- platform: cross-platform
- tags: react, cropperjs, image-cropping, react-component, typescript, web-server, nodejs

## Member repositories
- react-cropper/react-cropper (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.648310+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:01.321025+00:00, confidence not recorded.
  - readme: https://github.com/react-cropper/react-cropper (fetched 2026-08-28T04:06:11.648310+00:00, sha 0e2a038e9565)
  - homepage: https://react-cropper.github.io/react-cropper/ (fetched 2026-08-29T10:36:23.704837+00:00, sha 348c8b757389)
  - registry_npm: https://registry.npmjs.org/react-cropper (fetched 2026-08-29T10:36:23.713760+00:00, sha ae2bb1bb2707)
- Data as of 2026-08-30T08:39:29.467469+00:00.
