Layout tree (as in design/layout.json)
{
"pattern": "pricing.swiss-ruled-table",
"kind": "pricing",
"grid": {
"plan": "1-3",
"price": "4-6",
"detail": "7-10",
"action": "11-12"
},
"slots": [
"sectionLabel",
"title",
"plans[2..4]"
],
"tree": {
"el": "box",
"gap": 6,
"children": [
{
"el": "grid",
"gap": 3,
"children": [
{
"el": "text",
"span": "1-3",
"color": "textMuted",
"slot": "sectionLabel",
"role": "eyebrow"
},
{
"el": "text",
"span": "4-10",
"slot": "title",
"role": "h2",
"maxCh": 28
}
]
},
{
"el": "repeat",
"slot": "plans",
"min": 2,
"max": 4,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 3,
"pad": [
3,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "1-3",
"slot": "title",
"role": "h3"
},
{
"el": "text",
"span": "4-6",
"slot": "number",
"role": "number",
"step": 4,
"weight": 700
},
{
"el": "text",
"span": "7-10",
"slot": "body",
"role": "body",
"maxCh": 48
},
{
"el": "button",
"span": "11-12",
"slot": "cta",
"variant": "underline",
"arrow": true
}
]
}
}
]
}
}