unslopkit

Components / Alerts and banners

Undo with a timer

A snackbar whose ring drains while the undo is still on offer. It holds still while you hover or tab into it.

Cancelled your Thursday 7:30 AM reformer class

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-alert-undo-timer">
<div class="us" role="status">
  <span class="dial" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke-width="3"><circle class="bg" cx="12" cy="12" r="9"/><circle class="fg" cx="12" cy="12" r="9" pathLength="100" transform="rotate(-90 12 12)"/></svg></span>
  <p>Cancelled your Thursday 7:30 AM reformer class</p>
  <button class="undo" type="button">Undo</button>
  <button class="x" type="button" aria-label="Dismiss"><svg width="14" height="14" 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>

More alerts and banners

All 26
  • Important

    Inspections are paused on 24 and 25 December.

    Book before 20 December to be seen this year.

    Notification banner

  • Warning You can be fined up to $5,000 if you start work without a permit.

    Warning text

  • Error summary

  • Application complete

    Your reference number
    HDN-2026-4417

    Confirmation panel

  • Two invoices are waiting for your approval.

    Flash message

  • Sync paused Your crew's phones will catch up when they reconnect.

    Inline notification