Avatar Upload 2
- from @shadcncraft
A focused component for adding or updating a user profile image. Handles empty, uploaded, and removable states with clear affordances, including file requirements and inline actions. Designed to feel lightweight and direct, so users can quickly set or change their avatar without breaking flow.
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 @shadcncraft/avatar-upload-2Component source
No live preview has been built for this component yet.
Registry dependencies4
- avatar
- button
- input
- @shadcncraft/use-file-upload
Packages0
No npm packages are installed with it.
