dicebear-suited-icons-man
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published


Suited Icons Man

Avatar Style for DiceBear
Suited Icons by Uriel Curiel

The avatar style is based on Suited Icons by Uriel Curiel, licensed under CC BY 4.0. / Remix of the original.

See license overview for more information.


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

Readme

Keywords

Package Sidebar

Install

npm i dicebear-suited-icons-man

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

66.7 kB

Total Files

27

Last publish

Collaborators

  • urielcuriel