unslopkit

Components / Modals and sheets

Share sheet

A copyable link, who can open it, and people already invited, in one small dialog.

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-share">
<div class="bd"><div class="dlg" role="dialog" aria-modal="true" aria-labelledby="ukc-sh">
  <h3 id="ukc-sh">Share "Kitchen reframe"</h3>
  <div class="link"><input type="text" value="halden.app/j/4417-kr" readonly aria-label="Share link"><button type="button"><svg width="15" height="15" 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> Copy</button></div>
  <label class="who">Anyone with the link <select aria-label="Link access"><option>can view</option><option>can comment</option></select></label>
  <ul><li><span class="av">MR</span><span>Mara Reyes</span><span class="r">Owner</span></li><li><span class="av b">DW</span><span>Dana Whitfield</span><span class="r">Can edit</span></li></ul>
</div></div>
</div>

More modals and sheets

All 25
  • Steps inside a modal

  • Popover menu

  • Lightbox

  • Cookie choices

  • Location and language picker

  • Status modal