Layout tree (as in design/layout.json)
{
"pattern": "faq.technical-ruled-list",
"kind": "faq",
"grid": {
"title": "1-4",
"list": "6-12"
},
"slots": [
"sectionLabel",
"title",
"note",
"cta",
"faqs[5..6]"
],
"tree": {
"el": "grid",
"gap": 6,
"children": [
{
"el": "box",
"span": "1-4",
"alignSelf": "start",
"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": 12
},
{
"el": "text",
"color": "textMuted",
"slot": "note",
"role": "small",
"font": "mono"
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "box",
"span": "6-12",
"gap": 0,
"children": [
{
"el": "divider"
},
{
"el": "repeat",
"slot": "faqs",
"min": 5,
"max": 6,
"layout": "list",
"gap": 0,
"divider": true,
"of": {
"el": "grid",
"mobile": "keep",
"gap": 4,
"pad": [
5,
0
],
"children": [
{
"el": "text",
"span": "1-1",
"color": "textMuted",
"slot": "number",
"role": "small",
"font": "mono"
},
{
"el": "box",
"span": "2-12",
"gap": 2,
"children": [
{
"el": "text",
"slot": "title",
"role": "h3",
"step": 1,
"weight": 500,
"tracking": "tight"
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 68
}
]
}
]
}
},
{
"el": "divider"
}
]
}
]
}
}