Skip to content
On this page

Avatar

Avatar components can be used to represent people or objects, supporting image text or icons.

Basic usage

Letter avatar

Generate letter avatars by passing text.

Usually we use it to display users without avatars.

尺寸

We provide three sizes of avatars, namely small , default and large. You can also use height and width to customize the size of the avatar.

图标头像

Generate icon avatars by passing icons.

形状

Avatars in three shapes are provided, namely circle, square and rounded.

Avatar Group

Use avatar-group to combine multiple avatars together, and the max attribute to limit the number of avatars displayed.

The total attribute shows the total number of avatars.

Attributes

Events

Slots

MIT Licensed