1.0.3 • Published 2 months ago

dicebear-suited-icons-man v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Usage

Install the DiceBear package and this avatar style with the following command:

npm install @dicebear/core dicebear-suited-icons-man --save

Now you can create your first avatar.

import { createAvatar } from '@dicebear/core';
import style from 'dicebear-suited-icons-man';

let svg = createAvatar(style, {
  // ... options
});

Options

All options from DiceBear and additionally the following:

body

type: array
allowed: variant01, variant02, variant07, variant09, variant08, variant06, variant05, variant03, variant04
default: ['variant01', 'variant02', 'variant06', 'variant05', 'variant03', 'variant04']

bodyColor

type: array
default: ['d3d0ce', '8a7a6f', '84a8b7', 'ffb500', 'ac3d3e', 'c68152', '80c79a', '9b93bb', 'e06e69']

face

type: array
allowed: variant01, variant02
default: ['variant01']

mustache

type: array
allowed: variant01
default: ['variant01']

mustacheProbability

type: integer
minimum: 0
maximum: 100
default: 20

top

type: array
allowed: variant01, variant02, variant03, variant04, variant08, variant09, variant07, variant06, variant05
default: ['variant01', 'variant02', 'variant03', 'variant04', 'variant06', 'variant05']

topColor

type: array
default: ['ce7d2f', 'd9d9d9', '803b37']

Build this package

npm run build

Test this package

npm run test
1.0.2

2 months ago

1.0.3

2 months ago

1.0.1

5 months ago

1.0.0

5 months ago