Components · Layout
Section
A titled region of the page. Use it to group related content. Children stack vertically.
ExamplesLink to this section
Rollout plan
What ships, in what order.
Phase one ships to staff on Monday.
Phase two opens to every team on Thursday.
Show JSONHide JSON
{
"version": 1,
"root": "section",
"elements": {
"section": {
"type": "Section",
"props": {
"title": "Rollout plan",
"description": "What ships, in what order."
},
"children": ["phase-1", "phase-2"]
},
"phase-1": {
"type": "Text",
"props": { "text": "Phase one ships to staff on Monday." }
},
"phase-2": {
"type": "Text",
"props": { "text": "Phase two opens to every team on Thursday." }
}
}
}PropsLink to this section
Generated from the zod schema the server validates with. Unknown props are ignored with a warning. Any prop can also be a dynamic value such as { "$state": "/path" }; it is checked again once it resolves.
| Prop | Type | Limits and defaults |
|---|---|---|
| title | string | max 160 chars |
| description | string | max 600 chars |
ChildrenLink to this section
Section shows its children, in order.
It emits no events.