Use Avatar...
- To display a graphical representation of a user.
Don't use Avatar...
- To display anything other than a userβs profile picture, e.g. a thumbnail, an image preview, an icon
The preview has been updated.
Size
size="mini" is deprecated in SWAN v3.31.0
Use size="small" instead, which behaves the same, but better aligns with the larger API surface of SWAN.
Use size="small" to reduce the size of the Avatar.
The preview has been updated.
Alt text
The Avatar image needs an alt attribute of some kind. Refer to Alt Text guidelines.