Dividers

Use dividers to split content up. You may style <hr> tags directly or apply a .divider class to a <div> element.

Modifier ClassesModifiesDescription
.divider--label.dividerAdd a centered label to your divider
.divider--label--left.dividerAdd a left-aligned label to your divider
.divider--label--right.dividerAdd a right-aligned label to your divider
.divider--info.dividerAdd blue informational treatment to divider, derived from color mappings in _colors.scss
.divider--success.dividerAdd green positive treatment to divider, derived from color mappings in _colors.scss
.divider--warning.dividerAdd orange warning treatment to divider, derived from color mappings in _colors.scss
.divider--error.dividerAdd red alert treatment to divider, derived from color mappings in _colors.scss

Basic Divider
<div class="divider"></div>

Labeled Divider
Divider Label
Divider Label
Divider Label
<div class="divider divider--label--left">
    <div class="divider__text">Divider Label</div>
</div>
<div class="divider divider--label">
    <div class="divider__text">Divider Label</div>
</div>
<div class="divider divider--label--right">
    <div class="divider__text">Divider Label</div>
</div>

Stateful Divider
Success Divider
Warning Divider
Error Divider
Info Divider
<div class="divider divider--label divider--success">
    <div class="divider__text">Divider Label</div>
</div>