shape-grid
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('shape-grid', {seed = 'player-42'})
local options = dicebear.describe('shape-grid').options
Components
rows
- Variant option:
rowsVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
rowsProbability. Range 0–100; default 100.
| Variant |
Tags |
rows01 |
— |
rows02 |
— |
rows03 |
— |
rows04 |
— |
shape
- Variant option:
shapeVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shapeProbability. Range 0–100; default 100.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape01
- Variant option:
shape01Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape01Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape02
- Variant option:
shape02Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape02Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape03
- Variant option:
shape03Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape03Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape04
- Variant option:
shape04Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape04Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape05
- Variant option:
shape05Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape05Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape06
- Variant option:
shape06Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape06Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape07
- Variant option:
shape07Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape07Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape08
- Variant option:
shape08Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape08Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape09
- Variant option:
shape09Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape09Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape10
- Variant option:
shape10Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape10Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape11
- Variant option:
shape11Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape11Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape12
- Variant option:
shape12Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape12Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape13
- Variant option:
shape13Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape13Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape14
- Variant option:
shape14Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape14Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape15
- Variant option:
shape15Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape15Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
shape16
- Variant option:
shape16Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
- Visibility option:
shape16Probability. Range 0–100; default 100.
- Alias of
shape. Local overrides are supported; HTTP alias overrides are rejected.
| Variant |
Tags |
circle |
— |
hexagon |
— |
plus |
— |
polygon |
— |
square |
— |
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
#7fd4f5, #86eadf, #9cbeff, #a8f0b0, #cfbeff, #e2f299, #ffa3b5, #ffb382, #ffe08a
shapeColor
#000000, #ffffff