ui
ui copied to clipboard
feat(avatar): add avatar badge and avatar group
This PR adds AvatarBadge
and AvatarGroup
(including AvatarList
) components.
The only necessary change to the existing Avatar component was to remove the overflow-hidden
class from the Avatar
component and instead add rounded-full
to the AvatarImage
component.
The badge could be used as an status indicator as shown in the demo.
The AvatarGroup
component implements a limit of avatars and an optional overflow indicator.
@carstenlebek is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
Any updates>>>
Any update in this PR
will this pr review be approved?
Any update?
+1, this would be a great addition
+1
#3344
I suggest the AvatarFallback class to be: border bg-primary text-white
This mantains the original color, and add a border to separate each avatar.
+1
+1