Avatar Style for DiceBear
NocoBase AI employee avatars by
The avatar style is based on NocoBase AI employee avatars by , licensed under . / 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 @nocobase/ai-employee-avatars --save
Now you can create your first avatar.
import { createAvatar } from '@dicebear/core';
import style from '@nocobase/ai-employee-avatars';
let svg = createAvatar(style, {
// ... options
});All options from DiceBear and additionally the following:
type: array
allowed: yellow, blue, brown, red, green, purple
default: ['yellow', 'blue', 'brown', 'red', 'green', 'purple']
type: array
allowed: unisex001, woman001, unisex002, unisex003, unisex004, unisex005, unisex006, unisex007, unisex008, unisex009, unisex010, unisex011, woman002, woman003, woman004, unisex012, unisex013, unisex014, unisex015, unisex016
default: ['unisex001', 'woman001', 'unisex002', 'unisex003', 'unisex004', 'unisex005', 'unisex006', 'unisex007', 'unisex008', 'unisex009', 'unisex010', 'unisex011', 'woman002', 'woman003', 'woman004', 'unisex012', 'unisex013', 'unisex014', 'unisex015', 'unisex016']
type: array
allowed: woman001, unisex001, unisex002, woman002, woman003, woman004, woman005
default: ['woman001', 'unisex001', 'unisex002', 'woman002', 'woman003', 'woman004', 'woman005']
type: array
allowed: unisex001, unisex002
default: ['unisex001', 'unisex002']
type: array
allowed: man001, woman001, woman002, man002, woman003, man003, man004, man005, woman004, woman005, man006, man007, woman006, woman007, woman008, woman009, woman010, man008, woman011, woman012
default: ['man001', 'woman001', 'woman002', 'man002', 'woman003', 'man003', 'man004', 'man005', 'woman004', 'woman005', 'man006', 'man007', 'woman006', 'woman007', 'woman008', 'woman009', 'woman010', 'man008', 'woman011', 'woman012']
type: array
allowed: unisex001
default: ['unisex001']
npm run build
npm run test