Layout tree (as in design/layout.json)
{
"pattern": "list.hairline-index-rows",
"kind": "list",
"grid": {
"number": "1-1",
"title": "2-5",
"body": "6-10",
"arrow": "12-12"
},
"slots": [
"sectionLabel",
"title",
"body",
"items[4..6]"
],
"tree": {
"el": "box",
"gap": 10,
"children": [
{
"el": "grid",
"gap": 6,
"align": "end",
"children": [
{
"el": "box",
"span": "1-6",
"gap": 4,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "eyebrow",
"transform": "uppercase",
"weight": 400,
"tracking": "wide",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 500,
"tracking": "tight",
"leading": "tight",
"maxCh": 16
}
]
},
{
"el": "text",
"span": "8-12",
"color": "textMuted",
"alignSelf": "end",
"slot": "body",
"role": "body",
"maxCh": 56
}
]
},
{
"el": "box",
"gap": 0,
"children": [
{
"el": "divider"
},
{
"el": "repeat",
"slot": "items",
"min": 4,
"max": 6,
"layout": "list",
"gap": 0,
"divider": true,
"of": {
"el": "grid",
"gap": 4,
"pad": [
5,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "1-1",
"color": "textMuted",
"slot": "number",
"role": "small",
"font": "mono"
},
{
"el": "text",
"span": "2-5",
"slot": "title",
"role": "h3",
"step": 2,
"weight": 500,
"tracking": "tight"
},
{
"el": "text",
"span": "6-10",
"mobile": "hide",
"color": "textMuted",
"slot": "body",
"role": "small",
"maxCh": 60
},
{
"el": "box",
"span": "11-12",
"alignSelf": "center",
"align": "end",
"children": [
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
}
]
}
},
{
"el": "divider"
}
]
}
]
}
}