Layout tree (as in design/layout.json)
{
"pattern": "contact.synthwave-signal-form",
"kind": "contact",
"grid": {
"details": "1-5",
"panel": "7-12"
},
"slots": [
"title",
"body",
"email",
"address",
"sectionLabel",
"contact"
],
"tree": {
"el": "grid",
"gap": 5,
"children": [
{
"el": "box",
"span": "1-5",
"alignSelf": "start",
"gap": 3,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"transform": "uppercase",
"weight": 900,
"tracking": "wide",
"leading": "tight",
"maxCh": 12
},
{
"el": "text",
"slot": "body",
"role": "lead",
"maxCh": 40
},
{
"el": "text",
"color": "link",
"slot": "email",
"role": "h3",
"step": 2,
"font": "mono"
},
{
"el": "text",
"color": "textMuted",
"slot": "address",
"role": "small",
"font": "mono"
}
]
},
{
"el": "box",
"span": "7-12",
"bg": "surface",
"gap": 3,
"pad": [
5,
5
],
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"font": "mono"
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
}
]
}
}