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

Tables

Flat data tables for admin apps — lines between rows only, sortable columns, row selection and hover actions.

Actions
AK
Ana Kim
ana@kim.dev
ActiveMar 4, 2026$2,480.00
MR
Marco Rossi
marco@rossi.it
TrialOct 12, 2026$129.00
LT
Lee Tran
lee@tran.co
PausedJan 20, 2025$12,904.50
<div class="table-wrap">
  <table class="table table-hover">
    <thead><tr>
      <th class="table-check">
        <input type="checkbox" class="form-check-input" aria-label="Select all">
      </th>
      <th><button class="table-sort">Customer</button></th>
      <th class="text-end"><button class="table-sort">Spent</button></th>
      <th><span class="visually-hidden">Actions</span></th>
    </tr></thead>
    <tbody><tr>
      <td class="table-check">
        <input type="checkbox" class="form-check-input">
      </td>
      <td>Ana Kim</td>
      <td class="text-end">$2,480.00</td>
      <td class="table-actions">…buttons…</td>
    </tr></tbody>
  </table>
</div>

With moey.js, everything works automatically:

  • Sorting — click a .table-sort header. Numbers ($1,240.50, 12%), dates and text sort correctly; <td data-sort="…"> overrides a value (e.g. sort "2h ago" by a timestamp). The moey:sort event is cancelable — sort on your server instead.
  • Select all — the header checkbox in .table-check selects every row and shows a dash when only some are checked. moey:select tells you which rows.
  • Selected rows highlight on their own — that's pure CSS.
  • Row actions in .table-actions appear on hover or keyboard focus (always visible on touch screens).

Options

PlanMembersPrice
Starter3$0
Pro25$29
BusinessUnlimited$99
Total$128
ClassWhat it does
.table-sm · .table-lgDenser or roomier rows
.table-hover · .table-stripedRow hover tint · alternating tint
.table-wrapScrolls sideways on small screens
.table-stickyHeader stays put while the .table-wrap scrolls (give the wrap a max-height)
.table-check · .table-actionsCheckbox column · hover actions column
.is-selectedHighlight a row yourself

Inside a card with .card-flush, the first and last columns line up with the card's padding automatically.

A card, a scrolling table, and pagination in the footer.

Orders
Last 30 days
Status
#10421
AK
Ana Kim
ana@kim.dev
Paid$129.00
#10420
MR
Marco Rossi
marco@rossi.it
Pending$48.50
#10419
LT
Lee Tran
lee@tran.co
Refunded$212.99
<div class="card">
  <div class="card-header">…title, search…</div>
  <div class="card-body card-flush table-wrap">
    <table class="table table-hover">…</table>
  </div>
  <div class="card-footer">
    <span class="pagination-info">Showing 1–3 of 248</span>
    <nav class="pagination pagination-sm" data-moey-pages="83" data-moey-page="1"></nav>
  </div>
</div>

Empty and loading

An empty state when there are no rows; skeleton rows while loading.

OrderCustomerAmount

No orders yet

New orders show up here.

OrderCustomerAmount
<tr><td colspan="3"><div class="empty empty-sm">…</div></td></tr>      <!-- no rows -->
<tr><td><div class="skeleton-text"></div></td>…</tr>                   <!-- loading -->