unslopkit

Components / Modals and sheets

Side drawer

A panel that slides in from the right over the page, with filters, a sticky footer, and a clear count.

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-side-drawer">
<div class="page"><div class="dim"></div><aside class="drawer" role="dialog" aria-modal="true" aria-labelledby="ukc-sd">
  <div class="hd"><h3 id="ukc-sd">Filters</h3><button type="button" aria-label="Close"><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></button></div>
  <div class="body"><p class="lab">Status</p><label><input type="checkbox" checked> Open</label><label><input type="checkbox"> Paid</label><label><input type="checkbox" checked> Overdue</label><p class="lab">Crew</p><label><input type="checkbox" checked> North</label><label><input type="checkbox"> South</label></div>
  <div class="ft"><button type="button" class="clear">Clear</button><button type="button" class="show">Show 23 invoices</button></div>
</aside></div>
</div>

More modals and sheets

All 25
  • Command palette

  • Form in a modal

  • Share sheet

  • Steps inside a modal

  • Popover menu

  • Lightbox