Divider
Native controls work. Demo links and submissions stay inside this specimen. This example scrolls horizontally at this width.
Source markup
<!-- @dsCard group="Display" height=108 -->
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<title>Divider</title>
<style>
/* Layout of the demo state only. Colour and type come from bundle.css. */
.demo {
max-width: 960px;
padding: var(--space-3xs);
display: grid;
gap: var(--space-2xs);
align-items: start;
}
/* The rule ships without margin, so the grid gap supplies its room. */
.demo > p,
.demo > hr { margin: 0; }
</style>
</head>
<body>
<div class="demo">
<p class="t-label">.divider</p>
<p class="base">Noiz stands for a Network of Independent Zones.</p>
<hr class="divider">
<p class="base">Noiz does hosting, cybersecurity and software.</p>
</div>
</body>
</html>
Divider is the hairline rule that parts two blocks of related content when a heading would be too much. Reach for it inside a long .content-block, or between a card’s body and its .card__footer. Do not use it to fence off unrelated sections: a heading or a fresh .card carries that job. Do not use it as a decorative stripe either.
What the consumer provides
Section titled “What the consumer provides”An <hr class="divider">, or a <div class="divider" role="separator"> where the surrounding markup cannot take an <hr>. Nothing else: no children, no pillar scope class, since .divider does not read --division-accent. The rule carries no margin of its own, so the surrounding flow spacing governs. Inside .content-block that is the space-md step; elsewhere give it a space-* token through the parent’s gap.
States
Section titled “States”Rest is the only state: no hover, focus or disabled form, no pointer events. .divider is border-width-hairline tall with border: 0 and color-semantic-border-base as its background, the same hairline value the .card border uses, so a divider inside a card matches the card’s own edge.
.divider--gradient and .t-gradient went on 2026-09-22 with the green-to-blue gradient behind them. Amber is the only identity colour now, so a two-colour rule has nothing left to say.
Accessibility
Section titled “Accessibility”- Role.
<hr>carries the native separator role, so nothing is added. The<div>form needsrole="separator", because a bare<div>has none. - Name. None, and none is wanted: a separator is not named, so do not add
aria-label. - Keyboard. Not interactive. Tab skips it, and Enter, Space, Escape and the arrows do nothing. This separator is static, never a movable splitter.
- Target size. Nothing in it is a target, so WCAG 2.2 SC 2.5.8 does not apply. bundle.css gives
.divideronlyborder-width-hairlineof height, far under the 24px floor. - Announcement. None. No live region, and no state to report.
Do and do not
Section titled “Do and do not”Do keep the height at border-width-hairline. At border-width-thick the rule reads as an accent bar, which is the .card--bordered-accent top edge, not a divider. Do not tint a plain divider with color-semantic-border-strong, color-semantic-text-faint or any accent: color-semantic-border-base is the one hairline value here. Do not stack two rules with only a line of copy between them. Do not put one above .footer-legal, which already draws its own border-width-hairline top border in color-semantic-border-base and so doubles the rule.
Hand-written from themes/noiz/assets/css/components.css (.divider).