PatternFly Elements Avatar
<pfe-avatar>
is an element for displaying a user's avatar image. If the user in question has provided a custom avatar, provide it and it will be displayed.
Read more about Avatar in the PatternFly Elements Avatar documentation
Installation
Load <pfe-avatar>
via CDN:
<script src="https://unpkg.com/@patternfly/pfe-avatar?module"></script>
Or, if you are using NPM, install it
npm install @patternfly/pfe-avatar
Then once installed, import it to your application:
import '@patternfly/pfe-avatar';
Usage
<pfe-avatar name="Edwardo Lindsey" src="https://clayto.com/2014/03/rgb-webgl-color-cube/colorcube.jpg"></pfe-avatar>