dicebear-suited-icons-woman
v1.0.3
Published
Avatar style for DiceBear
Downloads
3
Readme
Usage
Install the DiceBear package and this avatar style with the following command:
npm install @dicebear/core dicebear-suited-icons-woman --save
Now you can create your first avatar.
import { createAvatar } from '@dicebear/core';
import style from 'dicebear-suited-icons-woman';
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: ['variant07', 'variant09', 'variant08']
bodyColor
type: array
default: ['d3d0ce', '8a7a6f', '84a8b7', 'ffb500', 'ac3d3e', 'c68152', '80c79a', '9b93bb', 'e06e69']
face
type: array
allowed: variant01
, variant02
default: ['variant02']
top
type: array
allowed: variant01
, variant02
, variant03
, variant04
, variant08
, variant09
, variant07
, variant06
, variant05
default: ['variant08', 'variant09', 'variant07']
topColor
type: array
default: ['ce7d2f', 'd9d9d9', '803b37']
Build this package
npm run build
Test this package
npm run test