Author: | hkelly93 |
---|---|
Views Total: | 1,444 views |
Official Page: | Go to website |
Last Update: | May 27, 2016 |
License: | MIT |
Preview:

Description:
User Icons is a small, standalone JavaScript library that lets you create a Google-like, SVG based text avatar icon from any strings separated by ‘.’.
How to use it:
Load the core javascript file in the document.
<script src="index.js"></script>
Create a new User Icon object and specify the user name like this:
var icon = new UserIcon('CSS.Script');
Display the avatar icon with the text ‘CS’ on your webpage.
document.body.appendChild(icon);