Layout tree (as in design/layout.json)
{
"pattern": "list.bauhaus-numbered-blocks",
"kind": "list",
"grid": {
"number": "1-2",
"title": "3-7",
"body": "8-12"
},
"slots": [
"sectionLabel",
"title",
"items[3..6]"
],
"tree": {
"el": "box",
"gap": 5,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "eyebrow",
"transform": "lowercase"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"transform": "lowercase",
"maxCh": 28
},
{
"el": "repeat",
"slot": "items",
"min": 3,
"max": 6,
"layout": "list",
"gap": 3,
"of": {
"el": "box",
"gap": 3,
"children": [
{
"el": "divider",
"weight": 4
},
{
"el": "grid",
"gap": 3,
"align": "start",
"children": [
{
"el": "box",
"span": "1-2",
"bg": "accent2",
"pad": [
2,
2
],
"children": [
{
"el": "text",
"color": "onAccent2",
"slot": "number",
"role": "number",
"step": 4,
"weight": 700
}
]
},
{
"el": "text",
"span": "3-7",
"slot": "title",
"role": "h3",
"transform": "lowercase"
},
{
"el": "text",
"span": "8-12",
"slot": "body",
"role": "body",
"maxCh": 48
}
]
}
]
}
},
{
"el": "divider",
"weight": 4
}
]
}
}