Avatar is used for showing a thumbnail representation of a user or entity. Default avatar illustration is displayed when no src is specified.
<nord-stack align-items="center" direction="horizontal">
<nord-avatar name="Laura Williams" size="m"></nord-avatar>
<nord-avatar name="Laura Williams" size="l"></nord-avatar>
<nord-avatar name="Laura Williams" size="xl"></nord-avatar>
<nord-avatar name="Laura Williams" size="xxl"></nord-avatar>
The size of the avatar.
The URL of the avatar image uploaded by the user.
The name of the person.
This section includes guidelines for designers and developers about the usage of this component in different contexts.
- Always add the name of the person using the
- For the best results, use square images or images cropped into a square.
- Try to avoid using landscape or portrait images as avatars. Let users crop their images before or after uploading if possible.
Nord provides a lightweight solution for localizing its components. Not all components need localizing, as for the most part snippets of text are set per instance. For full localization guidelines, please see Localization documentation.
If you experience any issues while using Nord Web Components, please head over to the Support page for more guidelines and ways to contact us.