This component contains basic .c-avatar
component styling.
npm install @zendeskgarden/css-avatars
Once installed, avatar CSS can be accessed via postcss-import
.
@import '@zendeskgarden/css-avatars';
Use avatar CSS to style user and system images.
<figure class="c-avatar">
<img alt="user avatar" src="images/user.png" />
</figure>
<figure class="c-avatar c-avatar--system">
<img alt="system avatar" src="images/system.png" />
</figure>
See http://zendeskgarden.github.io/css-components/?path=/story/components-avatars for various modification classes.