Layout tree (as in design/layout.json)
{
"pattern": "pricing.broadsheet-subscription-rates",
"kind": "pricing",
"grid": {
"label": "1-4",
"rates": "6-12"
},
"slots": [
"sectionLabel",
"title",
"body",
"plans[2..4]"
],
"tree": {
"el": "grid",
"gap": 4,
"children": [
{
"el": "box",
"span": "1-4",
"alignSelf": "start",
"gap": 1,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"weight": 700,
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 4,
"weight": 700,
"leading": "tight",
"maxCh": 14,
"font": "body"
},
{
"el": "text",
"slot": "body",
"role": "small",
"italic": true,
"maxCh": 34,
"font": "body"
}
]
},
{
"el": "repeat",
"span": "6-12",
"slot": "plans",
"min": 2,
"max": 4,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 2,
"pad": [
2,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "1-4",
"slot": "title",
"role": "h4",
"weight": 700,
"leading": "tight",
"font": "body"
},
{
"el": "text",
"span": "5-8",
"slot": "body",
"role": "small",
"italic": true,
"font": "body"
},
{
"el": "text",
"span": "9-10",
"slot": "number",
"role": "label",
"align": "right",
"font": "mono"
},
{
"el": "button",
"span": "11-12",
"slot": "cta",
"variant": "link",
"size": "sm",
"arrow": true
}
]
}
}
]
}
}