Layout tree (as in design/layout.json)
{
"pattern": "hero.bento-sidebar-stack",
"kind": "hero",
"grid": {
"facts": "1-4",
"message": "5-12",
"product": "5-12"
},
"slots": [
"facts[3..3]",
"eyebrow",
"headline",
"subhead",
"cta",
"heroImage"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 3,
"align": "stretch",
"minVh": 0.85,
"children": [
{
"el": "box",
"span": "5-12",
"rowSpan": "1-1",
"bg": "surface",
"gap": 3,
"pad": [
8,
8
],
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "headline",
"role": "h1",
"step": 7,
"weight": 600,
"tracking": "tight",
"leading": "tight",
"maxCh": 18
},
{
"el": "box",
"dir": "row",
"gap": 4,
"align": "center",
"justify": "between",
"wrap": true,
"children": [
{
"el": "text",
"slot": "subhead",
"role": "body",
"maxCh": 44
},
{
"el": "button",
"slot": "cta",
"variant": "primary",
"arrow": true
}
]
}
]
},
{
"el": "repeat",
"span": "1-4",
"rowSpan": "1-3",
"slot": "facts",
"min": 3,
"max": 3,
"layout": "grid",
"cols": 1,
"gap": 3,
"of": {
"el": "box",
"bg": "surface",
"gap": 1,
"pad": [
6,
6
],
"justify": "between",
"border": "all",
"children": [
{
"el": "text",
"slot": "number",
"role": "number",
"step": 6,
"weight": 600,
"tracking": "tight"
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "label",
"weight": 600
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 30
}
]
}
]
}
},
{
"el": "box",
"span": "5-12",
"rowSpan": "2-3",
"bg": "surface",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "media",
"slot": "heroImage",
"treatment": "product",
"fill": true,
"frame": "rounded"
}
]
}
]
}
}