@redtea/always-avatar

Generate a nice replacement of avatar for you using, for example, a username or email

Usage no npm install needed!

<script type="module">
  import redteaAlwaysAvatar from 'https://cdn.skypack.dev/@redtea/always-avatar';
</script>

README

Always Avatar

Version Built With Stencil

RU

No avatar? - No problem! Let`s generate it!

Always Avatar will generate a nice replacement of avatar for you using, for example, a username or email.

Installing

$ npm install -SE @redtea/always-avatar

How to use

Always Avatar made with Stencil, so you can use it anywhere. More details on how to use the component with your framework here, and how to include to your web page here.

<always-avatar source="mr.hokid@gmail.com" size="40"></always-avatar>
<always-avatar source="Kirill Khoroshilov" size="40"></always-avatar>
<always-avatar source="mr-no-avatar" size="40"></always-avatar>
<always-avatar source="no.avatar" size="40"></always-avatar>
Avatar for mr.hokid@gmail.com Avatar for Kirill Khoroshilov Avatar for mr-no-avatar Avatar for no.avatar