Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

React Account Block Avatar Upload

Profile avatar upload with image preview, drag-and-drop support, file validation, crop functionality, and remove/replace options

Managing profile pictures shouldn't be complicated. This React avatar upload component handles drag-and-drop files, shows live previews, validates image types and sizes, and lets users crop before saving. Built with shadcn/ui Card, Avatar, Button, Alert, and Input components with Lucide React icons, users can upload via click or drag, see immediate previews, and remove unwanted images. File size warnings, format validation, and fallback initials—perfect for user profiles, account settings, or any app where profile customization improves engagement and personalization.

React Account Block Avatar Upload preview

Loading...
Scroll to load preview

Installation

Install
Pro block

FAQ