DiceBear
DiceBear is an avatar library for designers and developers.
This package is deprecated. Use '@dicebear/core' instead. Read more: https://dicebear.com/how-to-use/js-library
An avatar library for designers and developers.
DiceBear is an avatar library for designers and developers.
@dicebear/avatars-bottts-sprites
Fixed unexpected output of undefined
in generated SVG.@dicebear/avatars
For the defaults, a copy is now returned instead of a reference.@dicebear/adventurer
Mouth position@dicebear/adventurer-neutral
Mouth position@dicebear/adventurer
New Avatar style by Lisa Wischofsky@dicebear/adventurer-neutral
New Avatar style by Lisa Wischofsky@dicebear/personas
New Avatar style by draftbit.com.@dicebear/miniavs
New Avatar style by Webpixels.@dicebear/big-smile
New Avatar style by Ashley Seo.@dicebear/big-ears
New Avatar style by The Visual Team.@dicebear/big-ears-neutral
New Avatar style by The Visual Team.@dicebear/micah
Rewritten via Figma plugin.@dicebear/avatars
margin option #149@dicebear/collection
Missing dependencies@dicebear/open-peeps
New Avatar style by Pablo Stanley.@dicebear/pixel-art
New Avatar style as replacement for male
, female
and human
@dicebear/pixel-art-neutral
New Avatar style@dicebear/croodles
New Avatar style by vijay verma.@dicebear/croodles-neutral
New Avatar style by vijay verma.@dicebear/avatars
New rotate
option.@dicebear/avatars
New flip
option.@dicebear/avatars
New size
option as replacement for width
and height
options.@dicebear/avatars
New translateX
option.@dicebear/avatars
New translateY
option.@dicebear/avatars
Option backgroundColor
can now also handle an array. A random value is then selected via PRNG.@dicebear/avatars
width
and height
options are deprecated. Use size
instead.@dicebear/avatars
margin
option is deprecated. Use scale
instead.@dicebear/avatars
SVG Util addMargin
is deprecated. Use addScale
instead.@dicebear/avatars
SVG Util addRadius
is deprecated. Use addViewboxMask
instead.@dicebear/avatars-male-style
Use @dicebear/pixel-art
instead.@dicebear/avatars-female-style
Use @dicebear/pixel-art
instead.@dicebear/avatars-human-style
Use @dicebear/pixel-art
instead.@dicebear/avatars
Fixed color regexdicebear-project
Fixed missing dependency json-schema-to-typescript
.dicebear-project
Cli to create new dicebear avatar stylesdicebear
Moved cli to mono repositorydicebear
project commands are deprecated. Use new dicebear-project
cli instead.dicebear
Fixed dependency managementdicebear
missing files in packageesm
, cjs
and umd
bundles for all packages.@dicebear/collection
to install all official avatar styles at once.dicebear
to create avatars and build avatar styles.Color
class.ReferenceError: Can't find variable: exports
in svelte. See
#123@dicebear/avatars-avataaars-sprites
Avataaars clotheGraphics doesn't work #135@dicebear/avatars-avataaars-sprites
Avataaars clotheGraphics doesn't work #135@dicebear/micah
Fixed facialHair
/ mouth
contrast #132@dicebear/avatars
Aliases from styles were not noticed@dicebear/micah
eyeShadowColor
option as a better name for eyeColor
#130@dicebear/micah
eyeColor
option => use eyeShadowColor
instead #130@dicebear/micah
the dougFunny
hair style is always black #131@dicebear/micah
A filter is no longer applied to a color palette with only one color.@dicebear/avatars
Regular expressions optimized@dicebear/avatars
peer dependency fixed - again@dicebear/avatars
peer dependency fixedNo notable changes.
New API based on functions instead of classes in preparation for version 5.0
Old API
import Avatars from `@dicebear/avatars`;
import style from `@dicebear/avatars-identicon-sprites`;
let options = {};
let seed = 'custom-seed';
let avatars = new Avatars(style, options);
let svg = avatars.create(seed);
New API
import { createAvatar } from `@dicebear/avatars`;
import * as style from `@dicebear/avatars-identicon-sprites`;
let svg = createAvatar(style, {
seed: 'custom-seed',
// ... and other options
});
JSON Schema added to each avatar style. Used for API, Types and upcoming features.
Metadata in generated avatars with author and license information.
backgroundColor
New option values for accessoriesColor
, clotheColor
and hatColor
:
blue01
blue02
blue03
gray01
gray02
pastelBlue
pastelGreen
pastelOrange
pastelRed
pastelYellow
New option clotheGraphic
New option values for clothes
:
blazerAndShirt
blazerAndSweater
collarAndSweater
graphicShirt
shirtCrewNeck
shirtScoopNeck
shirtVNeck
New option values for eyebrows
:
angryNatural
defaultNatural
flatNatural
raisedExcited
raisedExcitedNatural
sadConcerned
sadConcernedNatural
unibrowNatural
upDown
upDownNatural
frownNatural
New option values for eyes
:
closed
xDizzy
eyeRoll
New option values for facialHairColor
and hairColor
:
blondeGolden
brownDark
pastelPink
silverGray
New option values for facialHair
:
beardMedium
beardLight
beardMagestic
moustaceFancy
moustacheMagnum
New option values for mouth
:
screamOpen
New option values for top
:
bigHair
bob
bun
curly
curvy
dreads
frida
fro
froAndBand
miaWallace
longButNotTooLong
shavedSides
straight01
straight02
straightAndStrand
dreads01
dreads02
frizzle
shaggy
shaggyMullet
shortCurly
shortFlat
shortRound
shortWaved
sides
theCaesar
theCaesarAndSidePart
hat
winterHat01
winterHat02
winterHat03
winterHat04
svgson
updated to version 5.2isolation:isolate
in all avatar stylesbackground
is deprecated. Use backgroundColor
instead.Some accessoriesColor
and clotheColor
values are deprecated:
blue
=> use blue01
, blue02
and blue03
insteadgray
=> use gray01
and gray02
insteadpastel
=> use pastelBlue
, pastelGreen
, pastelOrange
, pastelRed
and pastelYellow
insteadSome clothes
values are deprecated:
blazer
=> use blazerAndShirt
and blazerAndSweater
insteadsweater
=> use collarAndSweater
insteadshirt
=> use graphicShirt
, shirtCrewNeck
, shirtScoopNeck
and shirtVNeck
insteadSome eyebrow
values are deprecated:
flat
=> use flatNatural
insteadraised
=> use raisedExcited
and raisedExcitedNatural
insteadsad
=> use sadConcerned
and sadConcernedNatural
insteadunibrow
=> use unibrowNatural
insteadup
=> use upDown
and upDownNatural
insteadfrown
=> use frownNatural
insteadSome eyes
values are deprecated:
close
=> use closed
insteaddizzy
=> use xDizzy
insteadroll
=> use eyeRoll
insteadSome facialHairColor
and hairColor
values are deprecated:
pastel
=> use pastelPink
insteadgray
=> use silverGray
insteadSome facialHair
values are deprecated:
medium
=> use beardMedium
insteadlight
=> use beardLight
insteadmajestic
=> use beardMajestic
insteadfancy
=> use moustaceFancy
insteadmagnum
=> use moustacheMagnum
insteadSome mouth
values are deprecated:
scream
=> use screamOpen
insteadOption mode
is deprecated.
Some top
values are deprecated:
longHair
=> use bigHair
, bob
, bun
, curly
, curvy
, dreads
, frida
, fro
, froAndBand
, miaWallace
,
longButNotTooLong
, shavedSides
, straight01
, straight02
and straightAndStrand
insteadshortHair
=> use
dreads01
,dreads02
,frizzle
,shaggy
,shaggyMullet
,shortCurly
,shortFlat
,shortRound
,shortWaved
,sides
,theCaesar
and theCaesarAndSidePart
insteaddeterministic
default to true
.@dicebear/avatars
Type for b
option.@dicebear/avatars-avataaars-sprites
Removed unnecessary white background.@dicebear/avatars-avataaars-sprites
Background color was not used@dicebear/avatars
Randomness increased in new PRNG implementation@dicebear/avatars
Option dataUri
as replacement for base64
.@dicebear/avatars
Package seedrandom
replaced with own PRNG implementation.@dicebear/avatars
Option base64
is now deprecated. Use dataUri
instead.@dicebear/avatars-avataaars-sprites
Graphic shirt "selena"@dicebear/avatars-avataaars-sprites
New option values for facialHair
: pastel
and gray
@dicebear/avatars-avataaars-sprites
New option value for eyebrow
: frown
@dicebear/avatars-avataaars-sprites
New option accessoriesColor
@dicebear/avatars-avataaars-sprites
Completely rewritten to remove the react
, react-dom
and avataaars
dependencies. Solves #48.@dicebear/avatars-initials-sprites
when a font size was specified.avatars-avataaars-sprites
topChance
in avatars-avataaars-sprites
v4
./api/
instead of /v2/
initials
more precisely centeredavataaars
Background Colorwidth
, height
, radius
, background
and margin
, to keep the URLs of the HTTP API shorterdeterministic
for gridy
avatars. (thanks to @elierotenberg)options
object.topChange
to topChance
, clarify some documentation (thanks to @pennstatephil)0
did not work for chance options in bottts
.bowser
dependency in initials avatars.