Moey extras
Divider
A line between things — with words or an icon in it, or standing up between items in a row.
or
<div class="divider">or</div>
<div class="divider"></div> <!-- just a line -->
Text position
Today
This week
Older
<div class="divider divider-start">Today</div>
<div class="divider">This week</div>
<div class="divider divider-end">Older</div>
Icons, colors and lines
New messages
Needs attention
Continued
<div class="divider"><i class="mi mi-star"></i></div>
<div class="divider theme-blue">New messages</div>
<div class="divider theme-red divider-start">
<i class="mi mi-circle-alert"></i>
Needs attention
</div>
<div class="divider divider-dashed">Continued</div>
Vertical
.divider-vertical stands between items in a row and takes the row’s height.
Order #10421Nov 21, 20263 items
<div class="flex flex-wrap items-center gap-1 text-sm text-muted">
<span>Order #10421</span>
<span class="divider-vertical"></span>
<span>Nov 21, 2026</span>
<span class="divider-vertical"></span>
<span>3 items</span>
</div>
<div class="flex items-center gap-1 mt-4">
<button class="btn btn-gray btn-ghost btn-icon" aria-label="Bold">
<i class="mi mi-bold"></i>
</button>
<button class="btn btn-gray btn-ghost btn-icon" aria-label="Italic">
<i class="mi mi-italic"></i>
</button>
<span class="divider-vertical"></span>
<button class="btn btn-gray btn-ghost btn-icon" aria-label="Bulleted list">
<i class="mi mi-list"></i>
</button>
<button class="btn btn-gray btn-ghost btn-icon" aria-label="Link">
<i class="mi mi-link"></i>
</button>
</div>
Spacing
.divider-sm and .divider-lg change the space above and below. Or set --mo-divider-space.
Above
Small
Large
<div>Above</div>
<div class="divider divider-sm"></div>
<div>Small</div>
<div class="divider divider-lg"></div>
<div>Large</div>
In a conversation
Ana Kim 4:12 PM
Is order #10421 shipped yet?
New
Max Ruiz 4:20 PM
Yes — it left this morning. Tracking is on the way.
<div class="card max-w-md"><div class="card-body grid grid-cols-1 gap-3 text-sm">
<div>
<strong>Ana Kim</strong>
<span class="text-muted">4:12 PM</span>
<div>Is order #10421 shipped yet?</div>
</div>
<div class="divider divider-sm theme-red">New</div>
<div>
<strong>Max Ruiz</strong>
<span class="text-muted">4:20 PM</span>
<div>Yes — it left this morning. Tracking is on the way.</div>
</div>
</div></div>
| Class / attribute | What it does |
|---|---|
.divider | A line with optional text or icon in the middle; spacing above and below |
.divider-start · .divider-end | Text at the start or end |
.divider-vertical | A vertical line between items in a row (also for what other kits call a “vertical rule”) |
.divider-sm · .divider-lg · --mo-divider-space | Space around it |
.divider-dashed · theme-* · --mo-divider-color | Line style and color |