Skip to content
R

react-avatar-editor

Avatar / profile picture component

by moritzsFree

#105in UI Libraries
0In stores

Description

react-avatar-editor is a small React component for avatars and profile pictures. It lets a user resize, crop and rotate an uploaded image in…

Highlights

  • Resize, crop and rotate uploaded images
  • Round or square crop area
  • Fully typed TypeScript with no runtime dependencies
  • useAvatarEditor hook for editor methods
  • Responsive sizing from the parent element

Ratings & Reviews

No ratings yet

Be the first to rate react-avatar-editor.

People also visit

R

react-image-crop

A responsive image cropping tool for React

UI Libraries
Launch
R

react-cropper

Cropper as React Component

UI Libraries
Launch
R

react-gravatar

React component for rendering a gravatar profile image

UI Libraries
Launch
F

@files-ui/react

UI components for file uploads with React js

UI Libraries
Launch
R

react-avatar

Universal React avatar component makes it possible

UI Libraries
Launch
R

react-compare-image

React component to compare two images with a slider

UI Libraries
Launch

react-avatar-editor FAQ

What is react-avatar-editor?

A React component for cropping, resizing and rotating avatar and profile pictures in a simple interface.

Which React versions does it support?

React 17, 18 and 19.

Should I save as JPEG or PNG?

The README suggests JPEG for smaller files, since PNG is lossless and can be several times larger for a cropped photo. Transparent areas turn black in JPEG unless you set a background color.

Which output should I use?

getImageScaledToCanvas returns the crop at the editor's size, which is usually right for avatars. getImage returns the full original resolution.

Does it have runtime dependencies?

No. The README lists zero runtime dependencies.

What are the best react-avatar-editor alternatives?

Popular alternatives to react-avatar-editor include react-image-crop, react-cropper and react-gravatar. See all react-avatar-editor alternatives

Developer Stuff

Badges