Layout tree (as in design/layout.json)
{
"pattern": "hero.terminal-interactive-prompt",
"kind": "hero",
"slots": [
"eyebrow",
"headline",
"subhead",
"items[3..5]",
"newsletter"
],
"notes": "Prefix the headline with an accent \"$ \" and end the form's input with a blinking block cursor (blink stops under prefers-reduced-motion). The form reads \"> subscribe --email _\".",
"tree": {
"el": "box",
"gap": 3,
"justify": "center",
"maxCh": 80,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "eyebrow",
"role": "small"
},
{
"el": "text",
"slot": "headline",
"role": "h1",
"step": 5,
"maxCh": 40
},
{
"el": "text",
"slot": "subhead",
"role": "body",
"maxCh": 72
},
{
"el": "repeat",
"slot": "items",
"min": 3,
"max": 5,
"layout": "list",
"gap": 1,
"of": {
"el": "grid",
"gap": 2,
"children": [
{
"el": "text",
"span": "1-3",
"color": "link",
"slot": "title",
"role": "small"
},
{
"el": "text",
"span": "4-12",
"slot": "body",
"role": "small",
"maxCh": 60
}
]
}
},
{
"el": "form",
"slot": "newsletter",
"fields": [
"email"
],
"inline": true
}
]
}
}