Divider block inserts a horizontal rule between page sections. It supports an optional text label centered over the rule — useful for marking transitions like “About the Program” or “2024–2025 Cohort”.
Props
Optional text label displayed centered over the horizontal rule. When omitted, a plain
<hr> is rendered.Base fields
Like all blocks,Divider inherits backgroundVariant, spacing, and maxWidth from the shared block base via defineBlock.
Usage in Sanity Studio
- Add a Divider block between two other blocks.
- Optionally enter a Label to annotate the division.
- Adjust Spacing in Layout Options if needed.