icons¶
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('icons', {seed = 'player-42'})
local options = dicebear.describe('icons').options
Components¶
icon¶
- Variant option:
iconVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
iconProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
alarm |
— |
archive |
— |
award |
— |
bag |
— |
bandaid |
— |
bank |
— |
basket |
— |
basket2 |
— |
basket3 |
— |
bell |
— |
bicycle |
— |
binoculars |
— |
book |
— |
bookshelf |
— |
boombox |
— |
box |
— |
boxSeam |
— |
boxes |
— |
bricks |
— |
briefcase |
— |
brush |
— |
bucket |
— |
bug |
— |
building |
— |
calculator |
— |
camera |
— |
cameraReels |
— |
cart2 |
— |
cashCoin |
— |
clock |
— |
cloud |
— |
cloudDrizzle |
— |
cloudMoon |
— |
cloudSnow |
— |
clouds |
— |
coin |
— |
compass |
— |
controller |
— |
cup |
— |
cupStraw |
— |
dice5 |
— |
disc |
— |
display |
— |
doorClosed |
— |
doorOpen |
— |
dpad |
— |
droplet |
— |
easel |
— |
egg |
— |
eggFried |
— |
emojiHeartEyes |
— |
emojiLaughing |
— |
emojiSmile |
— |
emojiSmileUpsideDown |
— |
emojiSunglasses |
— |
emojiWink |
— |
envelope |
— |
eyeglasses |
— |
flag |
— |
flower1 |
— |
flower2 |
— |
flower3 |
— |
gem |
— |
gift |
— |
globe |
— |
globe2 |
— |
handThumbsUp |
— |
handbag |
— |
hdd |
— |
heart |
— |
hourglass |
— |
hourglassSplit |
— |
house |
— |
houseDoor |
— |
inbox |
— |
inboxes |
— |
key |
— |
keyboard |
— |
ladder |
— |
lamp |
— |
laptop |
— |
lightbulb |
— |
lightning |
— |
lightningCharge |
— |
lock |
— |
magic |
— |
mailbox |
— |
map |
— |
megaphone |
— |
minecart |
— |
minecartLoaded |
— |
moon |
— |
moonStars |
— |
mortarboard |
— |
mouse |
— |
mouse2 |
— |
newspaper |
— |
paintBucket |
— |
palette |
— |
palette2 |
— |
paperclip |
— |
pen |
— |
pencil |
— |
phone |
— |
piggyBank |
— |
pinAngle |
— |
plug |
— |
printer |
— |
projector |
— |
puzzle |
— |
router |
— |
scissors |
— |
sdCard |
— |
search |
— |
send |
— |
shop |
— |
shopWindow |
— |
signpost |
— |
signpost2 |
— |
signpostSplit |
— |
smartwatch |
— |
snow |
— |
snow2 |
— |
snow3 |
— |
speaker |
— |
star |
— |
stoplights |
— |
stopwatch |
— |
sun |
— |
tablet |
— |
thermometer |
— |
ticketPerforated |
— |
tornado |
— |
trash |
— |
trash2 |
— |
tree |
— |
trophy |
— |
truck |
— |
truckFlatbed |
— |
tsunami |
— |
umbrella |
— |
wallet |
— |
wallet2 |
— |
watch |
— |
webcam |
— |
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.
backgroundColor¶
#9edfdc, #edcba1, #fac1bc, #cecbfb, #aad8f9, #e0c5f1, #a7e0c9, #cbd8a7, #ded2a0, #f6c5ac, #bbd1fe, #f7bfcf, #eec1e2, #9fdded, #b7ddb6
iconColor¶
#000000, #ffffff