unslopkit

Components / Notifications

Toast stack, four kinds

Four toasts stacked in a corner: done, undo with a draining timer, a warning, and a failure with retry. Each kind has its own icon, label and edge, so color is never the only clue.

Done

Booking CF-20418 confirmed

Collection Tue 1 Dec, 08:00 to 10:00, dock 4.

Removed

Pallet 3 taken off the manifest

It goes for good in a few seconds.

Heads up

Customs form missing for CF-20391

Add it before 16:00 or the truck leaves without that pallet.

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-notification-toast-stack">
<div class="stack" role="region" aria-label="Notifications">
  <div class="toast fin" role="status">
    <span class="ic" aria-hidden="true"><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"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span>
    <div class="bd"><p class="k">Done</p><p class="t">Booking CF-20418 confirmed</p><p class="d">Collection Tue 1 Dec, 08:00 to 10:00, dock 4.</p></div>
    <button type="button" class="x" aria-label="Dismiss: booking confirmed"><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 class="toast undo" role="status">
    <span class="ic" aria-hidden="true"><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"><path d="M5 12h14"/></svg></span>
    <div class="bd"><p class="k">Removed</p><p class="t">Pallet 3 taken off the manifest</p><p class="d">It goes for good in a few seconds.</p><div class="acts"><button type="button" class="btn">Undo</button></div></div>
    <button type="button" class="x" aria-label="Dismiss: pallet removed"><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>
    <span class="drain" aria-hidden="true"><i></i></span>
  </div>
  <div class="toast warn" role="status">
    <span class="ic" aria-hidden="true"><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"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg></span>
    <div class="bd"><p class="k">Heads up</p><p class="t">Customs form missing for CF-20391</p><p class="d">Add it before 16:00 or the truck leaves without that pallet.</p><div class="acts"><button type="button" class="btn">Add the form</button></div></div>
    <button type="button" class="x" aria-label="Dismiss: customs form missing"><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 class="toast fail" role="alert">
    <span class="ic" aria-hidden="true"><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"><path d="M6 6l12 12M18 6L6 18"/></svg></span>
    <div class="bd"><p class="k">Failed</p><p class="t">The delivery note did not save</p><p class="d">You are offline. Your draft is kept on this device.</p><div class="acts"><button type="button" class="btn"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19.5 12a7.5 7.5 0 1 1-2.2-5.3L20 9.5M20 4v5.5h-5.5"/></svg>Try again</button></div></div>
    <button type="button" class="x" aria-label="Dismiss: delivery note did not save"><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>
</div>

More notifications

All 24
  • Hotel Meridian · guest telegram

    Message for room 214

    Received

    No.
    0417
    From
    Front desk
    Taken by
    Margit

    Your taxi to the station is booked for 6:15 tomorrow stop

    The driver will wait at the side door stop

    A breakfast box will be at the desk from 5:45 stop

    A paper copy went under your door at 18:55.

    Telegram slip

  • Wardline on call

    Page 1 of 3

    Lab 2, freezer B is warming

    -61 °C and rising. The limit is -65.

    Call the lab desk on 4417

    No answer in 5 minutes and this page goes to Dr Imre Solvang.

    On call pager

  • Till update 4.12 is going on

    Started at 15:02 by Rana · about 6 minutes left

    62%Step 3 of 5

    1. Done: Downloaded84 MB

    2. Done: Checked the fileSignature matches

    3. Running now: Installing on the front tillIt restarts for about 40 seconds

    4. Waiting: Installing on the bar tillOnce the front till is back

    5. Waiting: Printing a test receipt on both

    Both tills keep taking cards. Only one restarts at a time.

    What is in 4.12
    • Split a bill by seat
    • Tips show on the end of day report
    • Fixed: the drawer opened on refunds to card

    Update with steps

  • Harbour log

    Port Ellery · Fri 27 Nov

    1. MV Skerry Lass cleared the outer mole, bound for Tarn Head

    2. Pilot boat back alongside at berth 2

    3. Notice Wind south west 5, gusting 7 at the breakwater

    4. FV Good Hope landed 40 boxes at the fish quay

    5. MV Calder took on fuel at berth 5

    You are reading from 14:02. Newer entries wait above.

    New entries pill

  • Pilcrow Books

    Good morning, Hester.

    Overnight the shop took eleven web orders, two of them for the signed Barrow edition, which is now down to its last four copies.

    Tuesday's delivery from the wholesaler is running a day late, so the book club copies will not be here for tonight. Mr Adeyemi's question about the atlas has sat without an answer since Thursday.

    Nothing else needs you before you open.

    Morning note

  • Needs you today

    Marlowe Road Lettings

    Ticked items leave this list at midnight.

    Tick off list