React Avatar Editor screenshot

React Avatar Editor

Author Avatar Theme by Mosch
Updated: 6 May 2025
2432 Stars

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

Overview:

The react-avatar-editor is a component designed for resizing, cropping, and rotating profile pictures or avatars. It offers a clean and simple user interface akin to the cropping feature found on Facebook. Written in TypeScript, this tool allows users to customize their cropping options easily.

Features:

  • Fully Typed: Developed in TypeScript for enhanced type safety.
  • Input Controls: Users can provide their own input controls for a personalized experience.
  • Resize, Crop, Rotate: Easily adjust the size, dimensions, and orientation of the uploaded image.
  • Rounded or Square Output: Choose between rounded or square image results for different styles.

Installation:

To add react-avatar-editor to your project, use your preferred package manager:

npm install react-avatar-editor

or

yarn add react-avatar-editor

Summary:

The react-avatar-editor provides a practical solution for handling image resizing and cropping tasks, especially useful for profile pictures and avatars in web applications. With its TypeScript support and customizable features, developers can easily integrate this component into their projects for a seamless user experience.