TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gsinghjay/astro-shadcn-sanity/llms.txt
Use this file to discover all available pages before exploring further.
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.