Gradient Avatar Generator – gradient-avatar

Category: Javascript , Recommended | October 5, 2018
Author: usemeta
Views Total: 400 views
Official Page: Go to website
Last Update: October 5, 2018
License: MIT

Preview:

Gradient Avatar Generator – gradient-avatar

Description:

A creative avatar generator lets you generate SVG based gradient avatars from any strings you provide.

How to use it:

Installation.

# NPM
$ npm install gradient-avatar --save

Import the gradient-avatar.

// ES 6
import avatar from 'gradient-avatar';

// CommonJS:
const avatar = require('gradient-avatar');

Generate a gradient avatar from a string.

avatar('CSSSCRIPT.COM');

Specify the size of the avatar.

avatar('CSSSCRIPT.COM', 32);

You Might Be Interested In:


Leave a Reply