lineFace top-level constant
String
const lineFace
Raw JSON definition of the DiceBear line-face avatar style.
Implementation
const String lineFace = '''{
"\$schema": "https://cdn.hopjs.net/npm/@dicebear/schema@1.4.0/dist/definition.min.json",
"\$comment": "Hand-authored definition (no Figma source).",
"meta": {
"license": {
"name": "CC0 1.0",
"url": "https://creativecommons.org/publicdomain/zero/1.0/",
"text": "„Line Face” (https://www.dicebear.com) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)"
},
"creator": {
"name": "DiceBear",
"url": "https://www.dicebear.com"
},
"source": {
"name": "Line Face",
"url": "https://www.dicebear.com"
}
},
"canvas": {
"elements": [
{
"name": "g",
"type": "element",
"attributes": {
"class": "lf-root"
},
"children": [
{
"name": "eyes",
"type": "component",
"attributes": {
"transform": "translate(19 33)"
}
},
{
"name": "nose",
"type": "component",
"attributes": {
"transform": "translate(40 28)"
}
},
{
"name": "mouth",
"type": "component",
"attributes": {
"transform": "translate(30 63)"
}
}
]
}
],
"width": 100,
"height": 100
},
"attributes": {
"fill": "none",
"shape-rendering": "auto"
},
"components": {
"eyes": {
"width": 62,
"height": 12,
"variants": {
"closed": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 5q6 5 13 0m24 0q7 5 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"happy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 7q6-6 13 0m24 0q7-6 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"dots": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M12 6h.01M50 6h.01",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "7",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"wink": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 5q6 5 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M50 6h.01",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "7",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"sleepy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 6q7 1.5 13 0m24 0q7 1.5 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"winkRight": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M12 6h.01",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "7",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
},
{
"name": "path",
"type": "element",
"attributes": {
"d": "M43 5q7 5 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"mismatch": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 5q6 5 13 0m24 1q7 1.5 13 0",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"unevenDots": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M12 4.5h.01M50 7.5h.01",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "7",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
}
}
},
"nose": {
"width": 18,
"height": 38,
"variants": {
"hook": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M13 5 5.5 27q-1 6.5 5.5 5.5",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"curve": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M12 6c-2.5 8-7 15-6 22q.5 5 6 4",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"angular": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M13 6 7 26l8 2.5",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"long": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M15 3 4 30q-1.5 5.5 6 5",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"slant": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M13 5 6 29",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"bow": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M13 5c-5.5 8-8 16-6 24",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.4",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
}
}
},
"mouth": {
"width": 44,
"height": 18,
"rotate": {
"min": -6,
"max": 6,
"step": 6
},
"variants": {
"smile": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M3 9q19 10 38-3",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"soft": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 9q16 6 32-2",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"smirk": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M9 10q14 4 26-4",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"line": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "m8 10 28-2",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"pleased": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M4 9q16 7 30-1l7-5",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"wavy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M6 10q7-4 14 0 8 4.5 18-2",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"frown": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M7 11q15-6.5 29-1",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
},
"shy": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M15 9.5q8 4 16-1",
"fill": "none",
"stroke": {
"type": "color",
"name": "ink"
},
"stroke-width": "4.6",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
}
]
}
}
}
},
"colors": {
"background": {
"values": [
"#fbe8d3",
"#f7d9c4",
"#f0e4c8",
"#e4e6d8",
"#e8dfd8",
"#f2d9d4"
]
},
"ink": {
"values": [
"#181818",
"#2e2218",
"#1f2c40"
]
}
}
}
''';