# dominictobias/react-image-crop

A responsive image cropping tool for React

Repository: https://github.com/dominictobias/react-image-crop
Canonical: https://ross.abutalabs.com/products/react-image-crop
Language: TypeScript
License: ISC
License Family: permissive
Topics: react, crop-image, responsive, javascript
Last push: 2026-06-21T18:33:47+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 57, longevity 100
- inputs: {"age_days": 3981, "days_push": 73, "days_rel": 73, "gap_med": 216, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4103, forks 347 (observed 2026-08-28T04:08:35.590074+00:00)

## What it is
A dependency-free React component for responsive image cropping with pixel or percentage coordinates. It supports touch, keyboard accessibility, free-form or fixed aspect ratio crops, and min/max crop size constraints.

## Use cases
- crop profile pictures before upload in a react app
- let users select a region of an image with a fixed aspect ratio
- build an avatar upload widget with responsive cropping
- crop images on touch devices
- implement accessible image cropping with keyboard support
- crop arbitrary dom content, not just images

## When to choose
- you need a lightweight (<5KB) cropping component with no dependencies
- you want touch and keyboard accessible cropping in React
- you need pixel or percentage based crop coordinates
- you want free-form or aspect-locked crops

## When to avoid
- you need rotation, filtering, or annotation built in
- your project is not React-based
- you must support Internet Explorer
- you need a full image editor rather than just cropping

## Facets
- artifact type: library
- maturity: active
- function: image-processing, ui-components
- domain: frontend, web-development, image-processing
- platform: browser, cross-platform
- tags: react, image-crop, responsive, touch-enabled, accessibility, typescript, nodejs

## Member repositories
- dominictobias/react-image-crop (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.590074+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-29T18:23:15.406693+00:00, confidence not recorded.
  - readme: https://github.com/dominictobias/react-image-crop (fetched 2026-08-28T04:08:35.590074+00:00, sha c8400edd602b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
