Add semantic section headings with header() and visual horizontal breaks with divider() (with optional centered text) or separator().
header()
divider()
separator()
<ComponentPreview title="Header, Divider & Separator">
[
{"type": "header", "text": "Workspace Configuration", "level": 2},
{"type": "text", "content": "Manage default models, guardrails, and webhook targets."},
{"type": "divider", "text": "Security"},
{"type": "text", "content": "Bearer token authentication is enabled for all routes."},
{"type": "separator"}
]
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Component | Parameter | Description |
|---|---|---|
| header | text, level | Heading text and HTML level (1–6, default 2). |
header
text
level
1
6
2
| divider | text | Horizontal rule with optional centered label. |
divider
| separator | — | Clean hairline horizontal separator. |
separator