Phone layer

For apps that live at the bottom of a phone, in one hand: a dock for what's done most, bars clear of the home gesture, and targets a thumb can hit.

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
dockFixed to the bottom, with the safe area; content scrolls above it
dock-spaceRoom under page content for the dock (reads --dock-h)
bottom-barsShort-lived bars, 28px clear of the home gesture
tapAn invisible hit area that reaches --tap (44px) around a small control
icon-btnA glyph button (×, ≡) at least 44 by 44

Dock

Shown in place here; on a page, .dock is fixed to the bottom.

Same markup in both builds
<div class="dock" style="position: static">
  <div class="flex" style="gap: var(--space-sm)">
    <button class="btn btn-secondary">Shuffle</button>
    <button class="btn btn-secondary">Discard</button>
    <span style="flex: 1"></span>
    <button class="btn">Play</button>
  </div>
</div>

Status badges

Same markup in both builds
<p class="flex" style="gap: var(--space-sm)">
  <span class="badge">web</span>
  <span class="badge badge-success">active</span>
  <span class="badge badge-warning">restarting</span>
  <span class="badge badge-error">failed</span>
</p>