unslopkit

Components / Modals and sheets

Modal with flush buttons

A small label over the title, body text, and two buttons that fill the bottom edge side by side.

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-carbon-modal">
<div class="bd"><div class="dlg" role="dialog" aria-modal="true" aria-labelledby="ukc-cm">
  <div class="hd"><p class="lab">Job settings</p><h3 id="ukc-cm">Archive this job?</h3><button class="x" 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>
  <p class="body">Archived jobs leave your list but keep their sheets and invoices. You can restore them any time.</p>
  <div class="ft"><button type="button" class="sec">Cancel</button><button type="button" class="pri">Archive</button></div>
</div></div>
</div>

More modals and sheets

All 25
  • Centered dialog

  • Dialog with header and footer

  • Delete "Kitchen reframe"?

    This deletes 14 job sheets, 48 photos, and 3 draft invoices. Sent invoices stay with your clients.

    Type to confirm

  • Phone bottom sheet

  • Side drawer

  • Command palette