miniavs top-level constant
String
const miniavs
Raw JSON definition of the DiceBear miniavs avatar style.
Implementation
const String miniavs = '''{
"\$schema": "https://cdn.hopjs.net/npm/@dicebear/schema@1.2.0/dist/definition.min.json",
"\$comment": "This file was generated by the DiceBear Exporter for Figma. https://www.figma.com/community/plugin/1005765655729342787",
"meta": {
"license": {
"name": "CC BY 4.0",
"url": "https://creativecommons.org/licenses/by/4.0/",
"text": "Remix of „Miniavs - Free Avatar Creator” (https://www.figma.com/community/file/923211396597067458) by „Webpixels”, licensed under „CC BY 4.0” (https://creativecommons.org/licenses/by/4.0/)"
},
"creator": {
"name": "Webpixels",
"url": "https://webpixels.io/"
},
"source": {
"name": "Miniavs - Free Avatar Creator",
"url": "https://www.figma.com/community/file/923211396597067458"
}
},
"canvas": {
"elements": [
{
"name": "head",
"type": "component",
"attributes": {
"transform": "translate(13 13)"
}
},
{
"name": "body",
"type": "component",
"attributes": {
"transform": "translate(7 57)"
}
},
{
"name": "hair",
"type": "component",
"attributes": {
"transform": "translate(0 3)"
}
},
{
"name": "mouth",
"type": "component",
"attributes": {
"transform": "translate(28.93 45)"
}
},
{
"name": "eyes",
"type": "component",
"attributes": {
"transform": "translate(29 35)"
}
},
{
"name": "blush",
"type": "component",
"attributes": {
"transform": "translate(24 38)"
}
},
{
"name": "glasses",
"type": "component",
"attributes": {
"transform": "translate(25 31)"
}
},
{
"name": "mustache",
"type": "component",
"attributes": {
"transform": "translate(26.5 43)"
}
}
],
"width": 64,
"height": 64
},
"attributes": {
"fill": "none",
"shape-rendering": "auto"
},
"components": {
"blush": {
"width": 23,
"height": 3,
"probability": 20,
"variants": {
"default": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"width": "5",
"height": "3",
"rx": "1.5",
"fill": "#FF859B"
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "19",
"width": "4",
"height": "3",
"rx": "1.5",
"fill": "#FF859B"
}
}
]
}
}
},
"body": {
"width": 40,
"height": 7,
"variants": {
"golf": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"y": "3",
"width": "40",
"height": "23",
"rx": "9",
"fill": {
"type": "color",
"name": "body"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M10 1h19v3s-5 1-9.5 1S10 4 10 4z",
"fill": {
"type": "color",
"name": "body"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M10 1h19v2s-3 1.5-9.5 1.5S10 3 10 3z",
"fill": "black",
"fill-opacity": ".2"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M9.5 2c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1",
"fill": {
"type": "color",
"name": "body"
}
}
}
]
},
"tShirt": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"y": "3",
"width": "40",
"height": "23",
"rx": "9",
"fill": {
"type": "color",
"name": "body"
}
}
}
]
}
}
},
"eyes": {
"width": 15,
"height": 4,
"variants": {
"confident": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M14 1.5a1.5 1.5 0 0 1-3 0V.27c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27zm-10 0a1.5 1.5 0 1 1-3 0V.27c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27z",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "line",
"type": "element",
"attributes": {
"x1": ".5",
"y1": ".5",
"x2": "4.5",
"y2": ".5",
"stroke": {
"type": "color",
"name": "hair"
},
"stroke-linecap": "round"
}
},
{
"name": "line",
"type": "element",
"attributes": {
"x1": "10.5",
"y1": ".5",
"x2": "14.5",
"y2": ".5",
"stroke": {
"type": "color",
"name": "hair"
},
"stroke-linecap": "round"
}
}
]
},
"happy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1 1.5a1.5 1.5 0 1 1 3 0v1.23c0 .15-.12.27-.27.27H1.27A.27.27 0 0 1 1 2.73zm10 0a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27z",
"fill": "#1B0B47"
}
}
]
},
"normal": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"x": "1",
"width": "3",
"height": "4",
"rx": "1.5",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "11",
"width": "3",
"height": "4",
"rx": "1.5",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
}
}
},
"glasses": {
"width": 24.54,
"height": 10.54,
"probability": 20,
"variants": {
"normal": {
"elements": [
{
"name": "circle",
"type": "element",
"attributes": {
"cx": "5.27",
"cy": "5.27",
"r": "4.27",
"stroke": "black",
"stroke-width": "2"
}
},
{
"name": "circle",
"type": "element",
"attributes": {
"cx": "19.27",
"cy": "5.27",
"r": "4.27",
"stroke": "black",
"stroke-width": "2"
}
},
{
"name": "line",
"type": "element",
"attributes": {
"x1": "8.99",
"y1": "4.11",
"x2": "15.99",
"y2": "4",
"stroke": "black",
"stroke-width": "2"
}
}
]
}
}
},
"hair": {
"width": 54.56,
"height": 61,
"variants": {
"balndess": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"x": "14",
"y": "23",
"width": "9",
"height": "2",
"rx": "1",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "14",
"y": "30",
"width": "7",
"height": "2",
"rx": "1",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "12",
"y": "26",
"width": "13",
"height": "3",
"rx": "1.5",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"classic01": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M22 8c14.5-9.5 32.5 7.5 28.5 11.5-9.12 9.12-17.77 4.8-23.45 3.09A4 4 0 0 1 24 24h-.13A4 4 0 0 1 20 29v.2a4 4 0 0 1-8-.2c0-.81.04-2.05.2-3.28q-.2-.43-.2-1.22C12 19.25 8.5 10 22 8",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"classic02": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M24 5c14.5-9.5 28 1 27 10-1.71 15.4-21.75 9-27 9h-.13A4 4 0 0 1 20 29v.2a4 4 0 1 1-7.83-1.37 4 4 0 0 1-.88-4.33 4 4 0 0 1 .8-4.25C12.61 13.28 14.9 6.35 24 5",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"curly": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M46 17a4 4 0 0 1 1.75 7.6 4 4 0 0 1-1.78 4.88c.13-4.07.23-8.62-1.19-12.3A4 4 0 0 1 46 17",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M37.5 0a6.5 6.5 0 0 1 6.01 4.03 4 4 0 0 1 3.44 4.58 7.3 7.3 0 0 1 3.05 5.9c0 4.13-3.58 7.49-8 7.49a8.3 8.3 0 0 1-5.7-2.24 5 5 0 0 1-6.36.2 7 7 0 0 1-7 1.74q-.4.43-.88.73a3.98 3.98 0 0 1-1.35 6.19q.3.37.3.88c0 .83-.65 1.5-1.5 1.5h-.02a4 4 0 0 1-7.3-3.17 4 4 0 0 1 0-5.66 4 4 0 0 1 .75-3.71 7 7 0 0 1 4.1-10.17v-.31a4 4 0 0 1 5.94-3.51 7 7 0 0 1 9.8-2.42A6.5 6.5 0 0 1 37.5 0",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"elvis": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M22 25c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76s-1.5-7-1.5-7c-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3c9.9 2.47 11.22 16 8 20.5-5 5.5-19-1-23.5-1s-6.87 0-7.5 3",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"long": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"fill-rule": "evenodd",
"clip-rule": "evenodd",
"d": "M30 4a18 18 0 0 1 18 18v10.5s0 .9-1.5 1.59q-.3.13-.64.24l.02-1.23c0-3.25.35-7.2 0-10.9a54 54 0 0 1-10.67 5.64A65 65 0 0 1 23 31.6V62H12V21.5A18 18 0 0 1 30 4M15 30a5 5 0 0 0 0 8z",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"ponyTail": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 7c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 42 2 40s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5S-8 15 0 7",
"fill": {
"type": "color",
"name": "hair"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "m13.03 10.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 16.5 10 13.5s3.03-3.32 3.03-3.32",
"fill": "#FF6C98"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M31 5c2.5 0 4.97.45 7.27 1.33s4.4 2.17 6.16 3.8a17.5 17.5 0 0 1 4.12 5.67q1.13 2.5 1.38 5.2H50v4.29s-.34.15-1 .36v8.5c0 .01-.01 1.4-1.5 2.45-.52.36-1.22.64-1.9.85q.29-2.18.29-4.35c0-2.05.13-4.37.15-6.73a42 42 0 0 1-7.58.63c-7.81 0-12.42-1.7-12.46-1.71v-1A26 26 0 0 0 24 28c-1.5 3.5 0 7.18-1.5 8.39-1.5 1.2-4.48 1.6-4.5 1.6l-1.32-8.81A5 5 0 0 0 18 39v8.3q-2.34-2.07-4.08-4.83c-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a26 26 0 0 1 3.55-9.04 21 21 0 0 1 6.43-6.5A18 18 0 0 1 31 5",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"slaughter": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M20 18a4 4 0 0 1 3.7 5.5A4 4 0 0 1 20 29a4 4 0 0 1-8 0 24 24 0 0 1 .37-4.32A3.98 3.98 0 0 1 16 19a4 4 0 0 1 1.17.17A4 4 0 0 1 20 18m25.5 2.04a4 4 0 0 1 3.13 5.46 4 4 0 0 1-2.78 5.4c.1-3.45.31-7.36-.35-10.86",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"stylish": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M20.67 25.22v6.02c0 .76-.67 1.76-1.17 2.26s-2 1.5-2.85 1.5-3.54-.45-4.83-2.26c-1.28-1.8-.9-11.32 0-13.54.9-2.2 4.19-6.88 8.85-10.45a26 26 0 0 1 12.88-5.34C58.48.4 49.22 18 46 22.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
}
}
},
"head": {
"width": 33.25,
"height": 51,
"variants": {
"normal": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M32.89 23.1c0 8.5-1.26 18.86-10.89 19.82v9.95S18.36 55 13.5 55 5 51.52 5 51.52V29a5 5 0 0 1-1.3-9.83C2.36 9.64 4.5 0 19 0c14.6 0 14.24 11.08 13.96 19.81q-.07 1.73-.07 3.29",
"fill": {
"type": "color",
"name": "skin"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M22 42.92q-.72.07-1.5.07c-8.88 0-13.9-7.15-15.5-14.6v23.14S8.64 55 13.5 55s8.5-2.13 8.5-2.13z",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M21.63 42.95q-.55.04-1.13.04c-6.53 0-10.97-3.86-13.5-8.87v1.12c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04M3.7 19.17A5 5 0 0 0 5.14 29a25 25 0 0 1-.71-5.9 47 47 0 0 1-.73-3.93",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "23",
"y": "28",
"width": "3",
"height": "2",
"rx": "1",
"fill": "black",
"fill-opacity": ".07"
}
}
]
},
"thin": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M32.89 23.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S18.36 55 13.5 55 5 51.52 5 51.52V29a5 5 0 0 1-1.3-9.83C2.36 9.64 4.5 0 19 0c14.6 0 14.24 11.08 13.96 19.81q-.07 1.73-.07 3.29",
"fill": {
"type": "color",
"name": "skin"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M5 29v22.52S8.64 55 13.5 55s8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47Q5.28 29 5 29",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M3.7 19.17a5 5 0 0 0 1.85 9.8 17 17 0 0 1-1.12-5.87 47 47 0 0 1-.73-3.93m18 24.23C14.95 42.3 8.8 36.52 6 30.1v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "23",
"y": "28",
"width": "3",
"height": "2",
"rx": "1",
"fill": "black",
"fill-opacity": ".07"
}
}
]
},
"wide": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M33.07 27.4c.47 7.5.94 15-11.07 15.56v9.91S18.36 55 13.5 55 5 51.52 5 51.52V32.1q-.3-1.53-.41-3.12a5 5 0 0 1-.9-9.8C2.37 9.63 4.52 0 19 0c14.6 0 14.24 11.08 13.96 19.81q-.07 1.73-.07 3.29c0 1.4.09 2.86.18 4.3",
"fill": {
"type": "color",
"name": "skin"
}
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M4.59 28.98c-.16-1.97-.16-3.97-.16-5.88a47 47 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81M5 32.1v19.42S8.64 55 13.5 55s8.5-2.13 8.5-2.13v-9.91q-.72.03-1.5.03C9.71 42.99 6.16 38.05 5 32.1",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M21.93 42.96q-.69.03-1.43.03c-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03",
"fill": "black",
"fill-opacity": ".07"
}
},
{
"name": "rect",
"type": "element",
"attributes": {
"x": "23",
"y": "28",
"width": "3",
"height": "2",
"rx": "1",
"fill": "black",
"fill-opacity": ".07"
}
}
]
}
}
},
"mouth": {
"width": 11.14,
"height": 6,
"variants": {
"default": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 1a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5H5a5 5 0 0 1-5-5",
"fill": "#66253C"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 1.2C1.01.82 2.66 1 4.07 1c2.2 0 4 1.56 4 3.5q0 .64-.24 1.2a5 5 0 0 1-1.69.3H5a5 5 0 0 1-5-4.8",
"fill": "#B03E67"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1.07 0h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1z",
"fill": "white"
}
}
]
},
"missingTooth": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 1a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5H5a5 5 0 0 1-5-5",
"fill": "#66253C"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 1.2C1.01.82 2.66 1 4.07 1c2.2 0 4 1.56 4 3.5q0 .64-.24 1.2a5 5 0 0 1-1.69.3H5a5 5 0 0 1-5-4.8",
"fill": "#B03E67"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1.07 0h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1z",
"fill": "white"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M3.07.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3z",
"fill": "#B03E67"
}
}
]
}
}
},
"mustache": {
"width": 21.5,
"height": 14,
"probability": 20,
"variants": {
"freddy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1.5 3a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3z",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"horshoe": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M13.5 3h-9v7a4 4 0 0 1-4 4V3a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4z",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"pencilThin": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M11 2c-1.5.67-5.5 1.6-7.5 2C1 4.5 0 2 0 2s4.5-.5 11-2zm.5-2c6 1 10 1.76 10 1.76S20.38 3.94 18 3.5c-1.9-.35-5.07-.91-6.5-1.5z",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
},
"pencilThinBeard": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M0 2s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2C1 4.5 0 2 0 2m21.5-.24S17.5 1 11.5 0v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74M6.8 12.24a1 1 0 0 1 1-1.24h3.43a1 1 0 0 1 .97 1.24l-.27 1a1 1 0 0 1-.97.76H8.03a1 1 0 0 1-.97-.76z",
"fill": {
"type": "color",
"name": "hair"
}
}
}
]
}
}
}
},
"colors": {
"body": {
"notEqualTo": [],
"values": [
"#3633e0",
"#e05a33",
"#ff4dd8"
]
},
"hair": {
"notEqualTo": [],
"values": [
"#1b0b47",
"#47280b",
"#ad3a20"
]
},
"skin": {
"notEqualTo": [],
"values": [
"#836055",
"#f5d0c5",
"#ffcb7e"
]
}
}
}''';