Moey Icons
No results. Try “dialog”, “dark” or “grid”.
Helpers

Stacks

The two layouts you use most, in one class each: things under each other with even space (stack), or side by side, lined up in the middle (hstack).

First
Second
Third
<div class="stack">
  <div>First</div>
  <div>Second</div>
  <div>Third</div>
</div>
AK
Ana Kim
ana@moey.test
Active
<div class="hstack">
  <span class="avatar avatar-blue">AK</span>
  <div>
    <div class="font-semibold">Ana Kim</div>
    <div class="text-sm text-muted">ana@moey.test</div>
  </div>
  <span class="badge badge-green badge-subtle">Active</span>
</div>

Push things apart: spacer

A spacer takes all the free room in a stack, pushing what comes after it to the other end.

Orders 12
<div class="hstack bg-1 rounded-lg p-3">
  <span class="font-semibold">Orders</span>
  <span class="badge badge-count">12</span>
  <div class="spacer"></div>
  <button class="btn btn-sm">Export</button>
  <button class="btn btn-sm btn-default btn-solid">New order</button>
</div>

A row that wraps: cluster

Tags, filters, a group of buttons — they wrap onto the next line when there is no room, with the same space between rows and items.

DesignAdminMobile firstLight & darkFormsTablesDialogsChartsIcons
<div class="cluster">
  <span class="chip">Design</span>
  <span class="chip">Admin</span>
  …
</div>

Change the space

Any gap-* utility changes the space; on phones you can stack and from a breakpoint up switch to a row with the flex utilities.

<div class="stack gap-2 md:flex-row md:items-center">
  <input class="form-control md:flex-1" placeholder="Search orders…" aria-label="Search orders">
  <button class="btn btn-default btn-solid">Search</button>
</div>
ClassWhat it does
stacka column, 16px between items
hstacka row, items centered, 12px between
clustera wrapping row, 8px between
spacertakes the free space
gap-* · --mo-stack-gapchange the space