Avatar 10 - Upload with Preview
- from @shadcn-dashboard
Profile photo uploader with instant preview, a camera hover overlay, file type and size validation, and a remove option that falls back to initials.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcn-dashboard/avatar-10Live preview
No live preview has been built for this component yet.
Registry dependencies2
- avatar
- button
