unslopkit

Components / Modals and sheets

Phone bottom sheet

A sheet that slides up from the bottom of a phone, with a grab handle, a title, and a list of actions.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-modal-bottom-sheet">
<div class="phone"><div class="dim"></div><div class="sheet" role="dialog" aria-modal="true" aria-labelledby="ukc-bs"><span class="grab" aria-hidden="true"></span><h3 id="ukc-bs">INV-0412</h3><ul>
  <li><button type="button"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="1"/><path d="M3 7l9 6 9-6"/></svg> Send to client</button></li>
  <li><button type="button"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="8" width="12" height="12" rx="1"/><path d="M16 8V4H4v12h4"/></svg> Duplicate</button></li>
  <li><button type="button"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 3H6v18h12V7z"/><path d="M14 3v4h4"/></svg> Download PDF</button></li>
  <li><button type="button" class="bad"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg> Void invoice</button></li>
</ul></div></div>
</div>

More modals and sheets

All 25
  • Side drawer

  • Command palette

  • Form in a modal

  • Share sheet

  • Steps inside a modal

  • Popover menu