Minimal User Text Avatar Generator – User Icons

Category: Javascript | May 27, 2016
Views Total:1,444 views
Official Page:Go to website
Last Update:May 27, 2016


Minimal User Text Avatar Generator – User Icons


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.


You Might Be Interested In:

Leave a Reply