Sheet

The phone's dialog: a panel that slides up from the bottom over what you were doing, within thumb reach. From 700px wide it floats in the middle. Swipe, Back and backdrop to close come from @sparkstone/kit; this is the look.

alpha The class names and states here are stable. The look is not: these styles can change in a minor release, without a major version bump.

ClassDoes what
sheet-backdropThe dimmed layer the sheet sits on, anchored to the bottom
sheetThe panel: up to 520px wide and 88% of the screen tall
sheet-wideUp to 720px, for lists of pictures and long tables
sheet-fullThe whole screen on a phone, once someone scrolls in to read
sheet-gripThe bar that says it can be pulled down
sheet-headerTitle and close button
sheet-bodyThe only part that scrolls
sheet-footerActions, pinned to the bottom edge

Basic

Shown in place here; on a page, .sheet-backdrop is fixed to the screen.

Same markup in both builds
<div class="sheet-backdrop" style="position: relative; min-height: 22rem">
  <div class="sheet" role="dialog" aria-labelledby="sheet-demo-title">
    <div class="sheet-grip"></div>
    <div class="sheet-header">
      <h2 id="sheet-demo-title">Your bag</h2>
      <button class="icon-btn" aria-label="Close">×</button>
    </div>
    <div class="sheet-body">
      <p>51 tiles left. The next ones come from here.</p>
      <p class="text-secondary">Used tiles are dimmed.</p>
    </div>
    <div class="sheet-footer">
      <button class="btn btn-secondary">Cancel</button>
      <button class="btn">Save</button>
    </div>
  </div>
</div>