Layout tree (as in design/layout.json)
{
"pattern": "features.bookish-numbered-sections",
"kind": "features",
"grid": {
"title": "2-4",
"sections": "5-10"
},
"slots": [
"sectionLabel",
"title",
"features[3..6]"
],
"tree": {
"el": "grid",
"gap": 4,
"align": "start",
"children": [
{
"el": "box",
"span": "2-4",
"gap": 2,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "eyebrow",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"weight": 400,
"italic": true,
"maxCh": 14
}
]
},
{
"el": "repeat",
"span": "5-10",
"slot": "features",
"min": 3,
"max": 6,
"layout": "list",
"gap": 5,
"of": {
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "number",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h3",
"weight": 400,
"italic": true
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 60
}
]
}
}
]
}
}