Layout tree (as in design/layout.json)
{
"pattern": "pricing.editorial-magazine-subscription-plans",
"kind": "pricing",
"grid": {
"plans": "2-11"
},
"slots": [
"title",
"plans[2..4]"
],
"tree": {
"el": "grid",
"gap": 4,
"rowGap": 4,
"children": [
{
"el": "text",
"span": "2-11",
"slot": "title",
"role": "h2",
"weight": 400
},
{
"el": "repeat",
"span": "2-11",
"slot": "plans",
"min": 2,
"max": 4,
"layout": "list",
"gap": 0,
"divider": true,
"of": {
"el": "grid",
"cols": 10,
"gap": 3,
"pad": [
3,
0
],
"align": "baseline",
"children": [
{
"el": "box",
"span": "1-6",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h3",
"weight": 400,
"italic": true
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small"
}
]
},
{
"el": "text",
"span": "7-8",
"slot": "number",
"role": "number",
"step": 3,
"weight": 400
},
{
"el": "button",
"span": "9-10",
"slot": "cta",
"variant": "underline"
}
]
}
}
]
}
}