Dividers

Dividers let you create dividers freely within components. They’re awesome for segmenting content and creating visual hierarchy.


Create horizontal and vertical dividers easily

You can use Divider-horizontal and Divider-vertical to create the divider you want.

index.html
<!-- Horizontal divider -->
<div class="Divider-horizontal"></div>
<!-- Vertical divider -->
<div class="Divider-vertical"></div>
Horizontal Divider
One
Two
Vertical Divider
One
Two

Make dividers with labels

Add text in the Divider to create a labelled divider. For vertical labelled dividers, make sure there’s sufficient height or the dividers will not be visible!

index.html
<!-- Horizontal divider -->
<div class="Divider-horizontal">Horizontal</div>
<!-- Vertical divider -->
<div class="Divider-vertical">Vertical</div>
Vertical Dividers
Vertical
Vertical
Horizontal
Horizontal Divider

Create dividers between items

To create dividers between multiple items, you can use DividerBetween instead of Divider.

index.html
<!-- Horizontal divider -->
<div class="DividerBetween-horizontal"> ... </div>
<!-- Vertical divider -->
<div class="DividerBetween-vertical"> ... </div>
Horizontal Dividers
One
Two
Three
Vertical Dividers
One
Two
Three