Skip to content
Sections
Fiesta

list-grid

UI primitives The shapes a component cannot be, because they wrap a body only the caller knows: cards, data grids, menus and the shells' own chrome.

The real data-table vocabulary: the card sets its columns once, rows only choose cells.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Preview
<div rst-box-head>
  <h2 id="orders-title">Orders</h2>
</div>
<div rst-card role="table" aria-labelledby="orders-title" style="--rst-cols: 2fr 110px var(--rst-col-menu)">
  <div rst-lrow="head" role="row">
    <span role="columnheader">Order</span>
    <span class="rst-m-hide" role="columnheader">Status</span>
    <span role="columnheader"><span class="rst-sr-only">Actions</span></span>
  </div>
  <div rst-lrow role="row">
    <span role="rowheader"><a class="rst-nm" href="/orders/AB3PX"><bdi>Grace Hopper</bdi>
        <small>AB3PX · <bdi>grace@example.com</bdi></small>
      </a></span>
    <span class="rst-m-hide rst-cell-mut" role="cell">Paid</span>
    <span role="cell">
      <details rst-row-menu name="rst-menus">
        <summary aria-label="Actions for Grace Hopper">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
        </summary>
        <div rst-row-menu-panel>
          <a href="/orders/AB3PX">View</a>
          <hr>
          <a class="rst-danger" href="/orders/AB3PX/refund">Refund order…</a>
        </div>
      </details>
    </span>
  </div>
  <p rst-no-match role="row">
    <span role="cell" aria-colspan="3">No orders match. <a href="/orders">Clear filters</a></span>
  </p>
</div>
<p rst-count-line>Displaying <strong>1–20</strong> of <strong>412</strong></p>

In an app this would reach /orders, /orders/AB3PX, /orders/AB3PX/refund. Here its links and forms go nowhere.