Layout tree (as in design/layout.json)
{
"pattern": "features.desktop-tab-panel",
"kind": "features",
"grid": {
"list": "1-5",
"shot": "6-12"
},
"slots": [
"title",
"body",
"sectionLabel",
"features[3..3]",
"statement",
"items[3..4]",
"cta",
"image"
],
"tree": {
"el": "box",
"gap": 6,
"children": [
{
"el": "box",
"dir": "row",
"gap": 6,
"align": "end",
"justify": "between",
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 24
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 48
}
]
},
{
"el": "box",
"bg": "accent2",
"gap": 2,
"pad": 2,
"children": [
{
"el": "box",
"mobile": "scroll-x",
"dir": "row",
"gap": 1,
"align": "center",
"children": [
{
"el": "box",
"bg": "surface",
"dir": "row",
"pad": [
2,
4
],
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "label",
"weight": 600
}
]
},
{
"el": "repeat",
"mobile": "keep",
"slot": "features",
"min": 3,
"max": 3,
"layout": "row",
"gap": 1,
"of": {
"el": "box",
"dir": "row",
"pad": [
2,
4
],
"children": [
{
"el": "text",
"slot": "title",
"role": "label",
"weight": 600
}
]
}
}
]
},
{
"el": "box",
"bg": "surface",
"gap": 0,
"pad": [
8,
8
],
"children": [
{
"el": "grid",
"gap": 8,
"align": "start",
"children": [
{
"el": "box",
"span": "1-5",
"gap": 5,
"children": [
{
"el": "text",
"slot": "statement",
"role": "h3",
"weight": 700
},
{
"el": "repeat",
"slot": "items",
"min": 3,
"max": 4,
"layout": "list",
"gap": 0,
"divider": true,
"of": {
"el": "box",
"gap": 1,
"pad": [
3,
0
],
"children": [
{
"el": "text",
"slot": "title",
"role": "body",
"weight": 600
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small"
}
]
}
},
{
"el": "button",
"slot": "cta",
"variant": "primary"
}
]
},
{
"el": "media",
"span": "6-12",
"slot": "image",
"aspect": "16/9",
"treatment": "product",
"frame": "window"
}
]
}
]
}
]
}
]
}
}