Layout tree (as in design/layout.json)
{
"pattern": "pricing.sketchbook-plan-notes",
"kind": "pricing",
"slots": [
"sectionLabel",
"title",
"body",
"plans[3..3]"
],
"tree": {
"el": "box",
"gap": 6,
"children": [
{
"el": "grid",
"cols": 12,
"gap": 6,
"align": "end",
"children": [
{
"el": "box",
"span": "1-7",
"gap": 2,
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"step": 2,
"rotate": -3,
"font": "heading"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 6,
"maxCh": 16
}
]
},
{
"el": "text",
"span": "8-12",
"color": "textMuted",
"slot": "body",
"role": "lead",
"maxCh": 40
}
]
},
{
"el": "box",
"bg": "surface",
"pad": [
2,
6
],
"children": [
{
"el": "repeat",
"slot": "plans",
"min": 3,
"max": 3,
"layout": "list",
"gap": 0,
"divider": true,
"of": {
"el": "grid",
"cols": 12,
"gap": 5,
"pad": [
5,
0
],
"align": "center",
"children": [
{
"el": "text",
"span": "1-2",
"slot": "title",
"role": "h3",
"step": 3
},
{
"el": "text",
"span": "3-5",
"slot": "number",
"role": "number",
"step": 6
},
{
"el": "box",
"span": "6-9",
"gap": 1,
"children": [
{
"el": "text",
"slot": "body",
"role": "body",
"weight": 700
},
{
"el": "text",
"slot": "meta",
"role": "small"
}
]
},
{
"el": "box",
"span": "10-12",
"dir": "row",
"justify": "end",
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary"
}
]
}
]
}
}
]
}
]
}
}