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

Drawer

A panel that slides in from an edge — filters, details, settings, forms. Same parts and behavior as the dialog.

Filters

Narrow down the order list

Status

Menu

Cookie settings

We use cookies to keep you signed in and to understand how the app is used.

Order #10421

Placed Nov 2, 2026

  • Linen tote
    Qty 1
    $89.00
  • Canvas pouch
    Qty 2
    $40.00
<button class="btn btn-default" data-moey-open="#filters">Filters</button>

<dialog class="drawer" id="filters" aria-labelledby="filters-title">
  <div class="dialog-header">
    <h2 class="dialog-title" id="filters-title">Filters</h2>
    <button class="btn-close" aria-label="Close"></button>
  </div>
  <div class="dialog-body">…</div>
  <div class="dialog-footer">…</div>
</dialog>
ClassWhat it does
.drawerSlides in from the end (right in left-to-right languages)
.drawer-start · -top · -bottomOther edges
.drawer-sm · .drawer-lg288 · 576px (default 384px). Or set --mo-drawer-size.
.drawer-insetFloats as a rounded panel with a gap from the edges

The footer sticks to the bottom and only the body scrolls. A click outside doesn't close it unless you add data-moey-close-outside="true" (examples). Opening, closing, static mode, events and Moey.open() work exactly like the dialog.

Sizes

Small · 288px

Menus and quick filters.

Default · 384px

Forms and details.

Large · 576px

Previews and wider forms.
<dialog class="drawer drawer-sm">…</dialog>   <!-- 288px -->
<dialog class="drawer">…</dialog>             <!-- 384px -->
<dialog class="drawer drawer-lg">…</dialog>   <!-- 576px -->

Record details

Open details next to a list without leaving it.

Order #10421

Placed Nov 21, 2026

Customer
Ana Kim
Status
Paid
Total
$129.00
  1. Paid
  2. Order placed
<button class="btn" data-moey-open="#dr-order"><i class="mi mi-receipt"></i>Order #10421</button>
<dialog class="drawer drawer-inset" id="dr-order" aria-labelledby="dr-order-t">
  <div class="dialog-header">
    <div>
      <h2 class="dialog-title" id="dr-order-t">Order #10421</h2>
      <p class="dialog-description">Placed Nov 21, 2026</p>
    </div>
    <button class="btn-close" aria-label="Close"></button>
  </div>
  <div class="dialog-body grid grid-cols-1 gap-5">
    <dl class="dl dl-divided">
      <dt>Customer</dt>
      <dd>Ana Kim</dd>
      <dt>Status</dt>
      <dd>
        <span class="badge badge-green badge-subtle badge-dot">Paid</span>
      </dd>
      <dt>Total</dt>
      <dd><strong>$129.00</strong></dd>
    </dl>
    <ol class="timeline timeline-sm">
      <li class="theme-green">
        <div class="timeline-content">
          <div class="timeline-title">Paid</div>
          <time class="timeline-time">10:25</time>
        </div>
      </li>
      <li>
        <div class="timeline-content">
          <div class="timeline-title">Order placed</div>
          <time class="timeline-time">10:24</time>
        </div>
      </li>
    </ol>
  </div>
  <div class="dialog-footer">
    <button class="btn btn-red btn-subtle">Refund</button>
    <button class="btn btn-default" data-moey-dismiss>Done</button>
  </div>
</dialog>