Layout tree (as in design/layout.json)
{
"pattern": "contact.neumorphism-control-form",
"kind": "contact",
"slots": [
"sectionLabel",
"title",
"body",
"contact",
"email",
"phone",
"map",
"hours",
"address"
],
"tree": {
"el": "grid",
"gap": 8,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-7",
"bg": "surface",
"gap": 5,
"pad": [
10,
8
],
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 18
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 46
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
},
{
"el": "box",
"span": "8-12",
"gap": 6,
"children": [
{
"el": "box",
"mobile": "keep",
"bg": "surface",
"dir": "row",
"gap": 5,
"pad": [
6,
6
],
"align": "center",
"children": [
{
"el": "box",
"bg": "surface",
"dir": "row",
"pad": 2,
"align": "center",
"justify": "center",
"children": [
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "accent"
}
]
},
{
"el": "text",
"slot": "email",
"role": "h4",
"step": 1,
"weight": 600
}
]
},
{
"el": "box",
"mobile": "keep",
"bg": "surface",
"dir": "row",
"gap": 5,
"pad": [
6,
6
],
"align": "center",
"children": [
{
"el": "box",
"bg": "surface",
"dir": "row",
"pad": 2,
"align": "center",
"justify": "center",
"children": [
{
"el": "shape",
"kind": "ring",
"size": "sm",
"fill": "accent"
}
]
},
{
"el": "text",
"slot": "phone",
"role": "h4",
"step": 1,
"weight": 600
}
]
},
{
"el": "box",
"bg": "surface",
"gap": 4,
"pad": [
6,
6
],
"children": [
{
"el": "media",
"slot": "map",
"aspect": "16/9",
"treatment": "map",
"frame": "rounded"
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "hours",
"role": "body",
"weight": 600
},
{
"el": "text",
"color": "textMuted",
"slot": "address",
"role": "small"
}
]
}
]
}
]
}
]
}
}