Skip to content

clay

Exact style-specific options from the bundled definition. Use these alongside the shared avatar options and core API. Back to the style catalog and licenses.

local dicebear = require('love_dicebear')
local svg, settings = dicebear.generate('clay', {seed = 'player-42'})
local options = dicebear.describe('clay').options

Components

body

  • Variant option: bodyVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: bodyProbability. Range 0–100; default 100.
Variant Tags
bell —
blob —
boulder —
column —
cube —
dollop —
egg —
gumdrop —
lean —
loaf —
pear —
slug —
squat —
stack —

eyes

  • Variant option: eyesVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: eyesProbability. Range 0–100; default 100.
Variant Tags
big —
dots —
down —
even —
googly —
happy —
inward —
mono —
outward —
pinprick —
side —
tiny —
trio —
up —
wink —

mouth

  • Variant option: mouthVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: mouthProbability. Range 0–100; default 100.
Variant Tags
cat mood:positive
dot —
frown mood:negative
grin —
laugh mood:positive
line —
o —
open mood:positive
openSmall mood:positive
pout mood:negative
smile mood:positive
smileBig mood:positive
smileTongue mood:positive
smirk mood:positive
teeth —
tongue —
toothy mood:positive
uu mood:positive
wavy mood:negative
zigzag mood:negative

pattern

  • Variant option: patternVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: patternProbability. Range 0–100; default 55.
Variant Tags
buttons —
checker —
coil —
freckles —
patch —
pellets —
prints —
spiral —
stitches —
zig —

top

  • Variant option: topVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: topProbability. Range 0–100; default 75.
Variant Tags
antenna —
crest —
curl —
ears —
horns —
hornsSmall —
loop —
nub —
peak —
pellet —
spikes —
swirl —
tuft —

Color palettes

Each option accepts a hex color or palette array. An empty table is transparent. Bundled contrast and exclusion rules can affect the seeded choice.

accentColor

#83b0a4, #86a5c3, #8ba06b, #9793bd, #a8b37e, #ab8bbd, #b3a696, #c4795c, #cd8ea6, #cf9f52, #d99277, #e0bd6a

backgroundColor

#e2ecf4, #e3efe9, #e8edf0, #e9e7f4, #ece8e2, #eff0da, #f4e4ef, #f4e8d4, #f7e3d9, #f8f1e5, #f9e8cf, #f9ecc9

bodyColor

#83b0a4, #86a5c3, #8ba06b, #9793bd, #a8b37e, #ab8bbd, #b3a696, #c4795c, #cd8ea6, #cf9f52, #d99277, #e0bd6a

inkColor

#44403c

Animation

Enable all selected artwork timelines with animation = true, or control a named timeline:

Timeline Switch Speed Delay
jiggle jiggleAnimation jiggleAnimationSpeed jiggleAnimationDelay
peek peekAnimation peekAnimationSpeed peekAnimationDelay
squash squashAnimation squashAnimationSpeed squashAnimationDelay

Some artwork variants may be static. See animation options and native playback.