unslopkit

Components / Modals and sheets

Cookie choices

One switch per kind of cookie, the essential one locked on, and saving choices as easy as accepting all.

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-cookie-preferences">
<div class="bd"><div class="dlg" role="dialog" aria-modal="true" aria-labelledby="ukc-cp">
  <h3 id="ukc-cp">Cookie choices</h3>
  <div class="r"><div><p class="t">Essential</p><p class="d">Keeps you signed in. Always on.</p></div><span class="sw on lock" aria-label="Essential cookies, always on"><i></i></span></div>
  <div class="r"><div><p class="t">Analytics</p><p class="d">Counts visits so we know what to fix. No ads.</p></div><button class="sw" type="button" role="switch" aria-checked="false" aria-label="Analytics cookies"><i></i></button></div>
  <div class="row"><button class="btn" type="button">Save choices</button><button class="btn pri" type="button">Accept all</button></div>
</div></div>
</div>

More modals and sheets

All 25
  • 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

  • What's new pager