Components · Layout
Separator
A horizontal rule, optionally with a short label. orientation: "vertical" draws a thin line between two items in a horizontal Box, as tall as the row; once a stackBelow row has stacked it lies flat between the same items. It takes no label.
ExamplesLink to this section
Findings end here.
Raw data follows.
Appendix
Show JSONHide JSON
{
"version": 1,
"root": "page",
"elements": {
"page": {
"type": "Stack",
"props": {},
"children": ["above", "rule", "below", "appendix"]
},
"above": { "type": "Text", "props": { "text": "Findings end here." } },
"rule": { "type": "Separator", "props": {} },
"below": { "type": "Text", "props": { "text": "Raw data follows." } },
"appendix": { "type": "Separator", "props": { "label": "Appendix" } }
}
}Docs
Pricing
Changelog
Show JSONHide JSON
{
"version": 1,
"root": "row",
"elements": {
"row": {
"type": "Box",
"props": { "direction": "horizontal", "align": "center", "gap": "md" },
"children": ["docs", "first", "pricing", "second", "changelog"]
},
"docs": { "type": "Text", "props": { "text": "Docs" } },
"first": { "type": "Separator", "props": { "orientation": "vertical" } },
"pricing": { "type": "Text", "props": { "text": "Pricing" } },
"second": { "type": "Separator", "props": { "orientation": "vertical" } },
"changelog": { "type": "Text", "props": { "text": "Changelog" } }
}
}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 |
|---|---|---|
| label | string | max 60 chars |
| orientation | "horizontal" | "vertical" | — |
RulesLink to this section
orientation: "vertical"is a line between two items in a horizontal Box, as tall as the row. It takes nolabel. In a column, or once astackBelowrow has stacked, it lies flat between the same items, as wide as the column.
Children and eventsLink to this section
Separator is a leaf: it does not show children. Validation warns when a leaf has some; wrap them in a Stack or Card instead.
It emits no events.