Layout tree (as in design/layout.json)
{
"pattern": "contact.neobrutal-form-card",
"kind": "contact",
"grid": {
"details": "1-5",
"form": "7-12"
},
"slots": [
"title",
"body",
"address",
"email",
"hours",
"contact"
],
"notes": "Fields have 3px borders and the radius token; the submit button is primary with the hard shadow.",
"tree": {
"el": "grid",
"gap": 5,
"children": [
{
"el": "box",
"span": "1-5",
"alignSelf": "start",
"gap": 4,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"maxCh": 12
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 40
},
{
"el": "box",
"bg": "surfaceAlt",
"gap": 1,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"slot": "address",
"role": "body",
"weight": 700
},
{
"el": "text",
"slot": "email",
"role": "body"
},
{
"el": "text",
"slot": "hours",
"role": "small",
"font": "mono"
}
]
}
]
},
{
"el": "box",
"span": "7-12",
"bg": "surface",
"pad": [
5,
5
],
"border": "all",
"children": [
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
}
]
}
}