A full-width divider can separate groups without becoming another heading. Consider whether the boundary is semantic or purely decorative.
Worked example
<div class="stack">
<h2>Before assembly</h2>
<p>Sort the parts by size.</p>
<hr style="width: 100%; border: 0; border-top: 4px double #886148" />
<h2>Assembly</h2>
<p>Start with the base.</p>
</div>Implementation notes
Excessive separators can make a page feel like disconnected fragments. Use spacing and a meaningful heading for groups that readers need to navigate.
Try it yourself
Read the page outline without relying on the divider's colour.
Open the UI Components example →Editorial date September 15, 2026 · Published December 6, 2026