DEV Community

Utkarsh Dubey
Utkarsh Dubey

Posted on

Wrote a small library for text based avatar generation in SVGs.

Wrote a dead-simple, small library in Javascript for generating text-based avatars(eg. Gmail pfp's with initials) in the SVG format. You could either save it in your database and directly include the svg code, or generate random avatars each time you reload.

Check it out with the documentation here: https://github.com/utkarshdubey/silhouette/

A live example has been hosted here:
https://silhouette-example.netlify.app

Discussion (0)