Layout tree (as in design/layout.json)
{
"pattern": "list.organic-ritual-steps",
"kind": "list",
"grid": {
"measure": "3-10"
},
"slots": [
"sectionLabel",
"title",
"items[3..5]"
],
"tree": {
"el": "grid",
"gap": 4,
"rowGap": 6,
"children": [
{
"el": "box",
"span": "3-10",
"gap": 2,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "eyebrow",
"italic": true
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 4,
"weight": 400,
"maxCh": 20
}
]
},
{
"el": "repeat",
"span": "3-10",
"slot": "items",
"min": 3,
"max": 5,
"layout": "list",
"gap": 5,
"of": {
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 5,
"align": "start",
"children": [
{
"el": "text",
"color": "link",
"slot": "number",
"role": "number",
"step": 5,
"weight": 400
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h3",
"weight": 400
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 52
}
]
}
]
}
}
]
}
}