Layout tree (as in design/layout.json)
{
"pattern": "pricing.bento-plan-tiles",
"kind": "pricing",
"grid": {
"title": "1-6",
"line": "8-12",
"plans": "1-8",
"enterprise": "9-12"
},
"slots": [
"title",
"body",
"plans[2..2]",
"statement",
"body2",
"cta2"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 4,
"align": "stretch",
"children": [
{
"el": "text",
"span": "1-6",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 600,
"tracking": "tight",
"leading": "tight",
"maxCh": 20
},
{
"el": "text",
"span": "8-12",
"color": "textMuted",
"alignSelf": "end",
"slot": "body",
"role": "body",
"maxCh": 40
},
{
"el": "repeat",
"span": "1-8",
"slot": "plans",
"min": 2,
"max": 2,
"layout": "grid",
"cols": 2,
"gap": 3,
"of": {
"el": "box",
"bg": "surface",
"gap": 3,
"pad": [
6,
6
],
"justify": "between",
"border": "all",
"children": [
{
"el": "text",
"slot": "title",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "number",
"role": "number",
"step": 6,
"weight": 600,
"tracking": "tight"
},
{
"el": "text",
"slot": "body",
"role": "small"
},
{
"el": "button",
"slot": "cta",
"variant": "primary"
}
]
}
},
{
"el": "box",
"span": "9-12",
"bg": "surfaceAlt",
"gap": 3,
"pad": [
6,
6
],
"justify": "between",
"border": "all",
"children": [
{
"el": "text",
"slot": "statement",
"role": "h4",
"step": 3,
"weight": 600,
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"slot": "body2",
"role": "small"
},
{
"el": "button",
"slot": "cta2",
"variant": "secondary"
}
]
}
]
}
}