squircles
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('squircles', {seed = 'player-42'})
local options = dicebear.describe('squircles').options
Components
accent
- Variant option:
accentVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
accentProbability. Range 0–100; default 80.
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 |
quartet |
— |
quintet |
— |
trio |
— |
level1
- Variant option:
level1Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
level1Probability. Range 0–100; default 100.
level2
- Variant option:
level2Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
level2Probability. Range 0–100; default 100.
level3
- Variant option:
level3Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
level3Probability. Range 0–100; default 100.
level4
- Variant option:
level4Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
level4Probability. Range 0–100; default 100.
level5
- Variant option:
level5Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
level5Probability. Range 0–100; default 100.
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
#0369a1, #047857, #0f766e, #1d4ed8, #1e293b, #4338ca, #6d28d9, #a21caf, #b45309, #be123c, #be185d, #c2410c
shapeColor
#ffffff, #000000
Animation
Enable all selected artwork timelines with animation = true, or control a named timeline:
| Timeline |
Switch |
Speed |
Delay |
orbit |
orbitAnimation |
orbitAnimationSpeed |
orbitAnimationDelay |
sway |
swayAnimation |
swayAnimationSpeed |
swayAnimationDelay |
Some artwork variants may be static. See animation options and native playback.