# ValentinH/react-easy-crop

A React component to crop images/videos with easy interactions

Repository: https://github.com/ValentinH/react-easy-crop
Canonical: https://ross.abutalabs.com/products/react-easy-crop
Homepage: https://valentinh.github.io/react-easy-crop/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, crop, crop-image, image-manipulation, cropping
Last push: 2026-08-11T11:49:42+00:00

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

## Adoption (not part of the score)
Stars 2772, forks 179 (observed 2026-08-28T04:07:19.057747+00:00)

## What it is
react-easy-crop is a React component for cropping images and videos with drag, zoom, and rotate interactions. It returns crop dimensions in pixels and percentages, supports all common image formats and HTML5 videos, and is mobile friendly.

## Use cases
- crop profile avatar images in a react app
- let users crop an uploaded image before saving
- crop video frames with drag and zoom
- build a round crop area for avatars
- save and restore crop positions
- mobile-friendly image cropping ui

## When to choose
- you need a simple, well-maintained React cropping component
- you want drag, zoom, and rotate interactions out of the box
- you need crop output in pixels or percentages
- you need touch and mobile support

## When to avoid
- you need advanced editing like filters, annotations, or flipping
- you are not using React
- you need server-side image processing

## Facets
- artifact type: library
- maturity: active
- function: image-processing, ui-components
- domain: frontend, web-development, image-processing, media
- platform: browser
- tags: react, cropper, image-cropping, video-cropping, typescript, touch-support, web-server, nodejs

## Member repositories
- ValentinH/react-easy-crop (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:19.057747+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-30T08:16:37.474413+00:00, confidence not recorded.
  - readme: https://github.com/ValentinH/react-easy-crop (fetched 2026-08-28T04:07:19.057747+00:00, sha c67efae8b4ea)
  - homepage: https://valentinh.github.io/react-easy-crop/ (fetched 2026-08-29T09:56:11.554683+00:00, sha ea5daa626907)
- Data as of 2026-08-30T08:39:29.467469+00:00.
