Layout tree (as in design/layout.json)
{
"pattern": "hero.neumorphism-dial-console",
"kind": "hero",
"slots": [
"eyebrow",
"headline",
"subhead",
"signup",
"heroImage",
"stats[4..4]"
],
"tree": {
"el": "box",
"gap": 8,
"children": [
{
"el": "box",
"bg": "surface",
"pad": [
10,
10
],
"children": [
{
"el": "grid",
"gap": 8,
"align": "center",
"children": [
{
"el": "box",
"span": "1-7",
"gap": 6,
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 7,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 15
},
{
"el": "text",
"color": "textMuted",
"slot": "subhead",
"role": "lead",
"maxCh": 46
},
{
"el": "form",
"slot": "signup",
"fields": [
"email"
],
"inline": true
}
]
},
{
"el": "box",
"span": "8-12",
"bg": "surface",
"pad": 4,
"children": [
{
"el": "media",
"slot": "heroImage",
"aspect": "4/5",
"treatment": "product",
"frame": "rounded"
}
]
}
]
}
]
},
{
"el": "repeat",
"slot": "stats",
"min": 4,
"max": 4,
"layout": "grid",
"cols": 4,
"phoneCols": 2,
"gap": 6,
"of": {
"el": "box",
"bg": "surface",
"dir": "row",
"gap": 4,
"pad": [
6,
6
],
"align": "center",
"children": [
{
"el": "shape",
"kind": "ring",
"size": "sm",
"fill": "accent"
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "number",
"role": "number",
"step": 4,
"weight": 700,
"tracking": "tight"
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small"
}
]
}
]
}
}
]
}
}