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.
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
});
All options from DiceBear and additionally the following:
type: array
allowed: variant01
, variant02
, variant07
, variant09
, variant08
, variant06
, variant05
, variant03
, variant04
default: ['variant01', 'variant02', 'variant06', 'variant05', 'variant03', 'variant04']
type: array
default: ['d3d0ce', '8a7a6f', '84a8b7', 'ffb500', 'ac3d3e', 'c68152', '80c79a', '9b93bb', 'e06e69']
type: array
allowed: variant01
, variant02
default: ['variant01']
type: array
allowed: variant01
default: ['variant01']
type: integer
minimum: 0
maximum: 100
default: 20
type: array
allowed: variant01
, variant02
, variant03
, variant04
, variant08
, variant09
, variant07
, variant06
, variant05
default: ['variant01', 'variant02', 'variant03', 'variant04', 'variant06', 'variant05']
type: array
default: ['ce7d2f', 'd9d9d9', '803b37']
npm run build
npm run test