Layout tree (as in design/layout.json)
{
"pattern": "list.frosted-step-track",
"kind": "list",
"grid": {
"title": "1-5",
"steps": "6-12"
},
"slots": [
"sectionLabel",
"title",
"items[3..6]"
],
"tree": {
"el": "grid",
"gap": 5,
"children": [
{
"el": "box",
"span": "1-5",
"alignSelf": "start",
"gap": 2,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "eyebrow"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 4,
"weight": 600,
"maxCh": 16
}
]
},
{
"el": "repeat",
"span": "6-12",
"slot": "items",
"min": 3,
"max": 6,
"layout": "list",
"gap": 1,
"divider": true,
"of": {
"el": "box",
"dir": "row",
"gap": 4,
"pad": [
2,
0
],
"align": "start",
"children": [
{
"el": "box",
"bg": "surfaceAlt",
"pad": [
1,
2
],
"border": "all",
"children": [
{
"el": "text",
"slot": "number",
"role": "label",
"weight": 600
}
]
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"weight": 600
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 52
}
]
}
]
}
}
]
}
}