Layout tree (as in design/layout.json)
{
"pattern": "faq.bento-tiled",
"kind": "faq",
"slots": [
"title",
"cta",
"faqs[4..4]"
],
"tree": {
"el": "box",
"gap": 6,
"children": [
{
"el": "box",
"dir": "row",
"gap": 3,
"align": "baseline",
"justify": "between",
"wrap": true,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 600,
"tracking": "tight",
"leading": "tight"
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "repeat",
"slot": "faqs",
"min": 4,
"max": 4,
"layout": "grid",
"cols": 2,
"gap": 3,
"of": {
"el": "box",
"bg": "surface",
"gap": 2,
"pad": [
6,
6
],
"border": "all",
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"step": 1,
"weight": 600,
"tracking": "tight"
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 60
}
]
}
}
]
}
}