Layout tree (as in design/layout.json)
{
"pattern": "pricing.maximalist-ticket-stubs",
"kind": "pricing",
"slots": [
"title",
"plans[2..3]"
],
"tree": {
"el": "box",
"gap": 4,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"weight": 400,
"rotate": 2
},
{
"el": "repeat",
"slot": "plans",
"min": 2,
"max": 3,
"layout": "grid",
"cols": 3,
"gap": 2,
"of": {
"el": "box",
"bg": "surface",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"bg": "accent2",
"color": "onAccent2",
"slot": "title",
"role": "label",
"transform": "uppercase",
"font": "mono"
},
{
"el": "text",
"slot": "number",
"role": "number",
"step": 6,
"weight": 400
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 36
},
{
"el": "button",
"slot": "cta",
"variant": "primary"
}
]
}
}
]
}
}