# mosch/react-avatar-editor

Small avatar & profile picture component. Resize and crop uploaded images using a intuitive user interface.

Repository: https://github.com/mosch/react-avatar-editor
Canonical: https://ross.abutalabs.com/products/react-avatar-editor
Homepage: https://react-avatar-editor.launchport.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, avatar, crop, javascript, image, profile-picture-component
Last push: 2026-04-22T03:48:32+00:00

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

## Adoption (not part of the score)
Stars 2497, forks 380 (observed 2026-08-28T04:06:56.786172+00:00)

## What it is
A React component for cropping, resizing, and rotating uploaded avatar/profile pictures via an intuitive canvas-based UI. It supports rounded or square crop areas, a useAvatarEditor hook, and exports cropped images as canvas elements.

## Use cases
- crop profile pictures in a react app
- let users resize and rotate uploaded avatars
- build an avatar upload flow with circular crop
- export cropped image as canvas or data url for upload
- add image cropping ui to user settings page

## When to choose
- you need a lightweight, zero-dependency avatar cropper for React 17-19
- you want a typed component with a hook-based API
- you need rounded or square crop areas with rotate and scale support

## When to avoid
- you need full-featured image editing beyond crop/resize/rotate
- your project does not use React
- you need server-side image processing

## Facets
- artifact type: library
- maturity: active
- function: ui-components, image-processing
- domain: frontend, web-development, image-processing
- platform: -
- tags: react, avatar, image-crop, canvas, profile-picture, typescript, web-server, nodejs

## Member repositories
- mosch/react-avatar-editor (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:56.786172+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:27:08.616853+00:00, confidence not recorded.
  - readme: https://github.com/mosch/react-avatar-editor (fetched 2026-08-28T04:06:56.786172+00:00, sha 99261c770918)
  - homepage: https://react-avatar-editor.launchport.dev/ (fetched 2026-08-29T10:09:26.199776+00:00, sha ad0288337cb5)
  - registry_npm: https://registry.npmjs.org/react-avatar-editor (fetched 2026-08-29T10:09:26.202362+00:00, sha 1f3537af3ea2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
