Skip to content

nocobase/ai-employee-avatars

Repository files navigation


NocoBase AI employee avatars

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.


Usage

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
});

Options

All options from DiceBear and additionally the following:

base

type: array
allowed: yellow, blue, brown, red, green, purple
default: ['yellow', 'blue', 'brown', 'red', 'green', 'purple']

clothes

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']

earing

type: array
allowed: woman001, unisex001, unisex002, woman002, woman003, woman004, woman005
default: ['woman001', 'unisex001', 'unisex002', 'woman002', 'woman003', 'woman004', 'woman005']

glasses

type: array
allowed: unisex001, unisex002
default: ['unisex001', 'unisex002']

hair

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']

mouth

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

Build this package

npm run build

Test this package

npm run test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •