Variants for AvatarGroup
See original GitHub issueMui’s Avatar
component has the variants squared
, rounded
, circle
to transform the shape of the avatar. In an AvatarGroup
when more than the max
number of avatars are present an avatar displaying the remaining number of Avatars (+x) is appended. AvatarGroup has no property to change the shape of this appended Avatar. If I want this appended avatar to match the avatars in the group I have to do it manually through style overrides or css classes.
- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
I think AvatarGroup’s properties should be updated to give more control over how the +x Avatar appears
Examples 🌈
Motivation 🔦
It’s not hard to work around using custom css but I think its an oversight. If we support alternative variants for Avatars will we shouldn’t assume only the rounded
variant will be used in AvatarGroup.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top GitHub Comments
@hjades sure feel free to 😃
hi! can i take this issue? thanks~