Avatars represent a user or a team. Stacked avatars represent a group of people.
The Avatar
contains circle and square.
Display text in the avatar box.
Multiple avatars can overlap and stack together.
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
src | image src | string | - | - |
stacked | stacked display group | boolean | - | false |
text | display text when image is missing | string | - | - |
isSquare | avatar shape | boolean | - | false |
... | native props | ImgHTMLAttributes | 'alt', 'crossOrigin', 'className', ... | - |
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
count | show total members | number | - | - |
... | native props | HTMLAttributes | 'id', 'name', 'className', ... | - |
Next
Badge