Skip to content

org-redtea/always-avatar

Repository files navigation

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