unslopkit

Components / Modals and sheets

Lightbox

A dark overlay with the picture large, a caption and count beneath, and arrows on the sides.

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-lightbox">
<div class="lb" role="dialog" aria-modal="true" aria-label="Photo viewer">
  <button class="x" type="button" aria-label="Close"><svg width="20" height="20" 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>
  <button class="nav prev" type="button" aria-label="Previous photo"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg></button>
  <figure><div class="img" aria-hidden="true"></div><figcaption><span>North wall, before drywall</span><span class="n">3 / 48</span></figcaption></figure>
  <button class="nav next" type="button" aria-label="Next photo"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
</div>
</div>

More modals and sheets

All 25
  • Cookie choices

  • Location and language picker

  • Status modal

  • 1:42left

    Still there?

    The patient portal signs you out after 15 quiet minutes, so nobody else at this screen can read your records. Your refill request for Dr. Okafor is saved as a draft.

    Signing out at 2:47 pm

    Session timeout

  • Microphone permission

  • Shortcuts sheet