unslopkit

Components / Alerts and banners

Error with details

A failed action explained in plain words, with the fix up front and the codes support will ask for folded away underneath.

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-error-details">
<div class="ed" role="alert">
  <span class="ic"><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="M8 3h8l5 5v8l-5 5H8l-5-5V8z"/><path d="M9 9l6 6M15 9l-6 6"/></svg></span>
  <div class="main">
    <p class="k">Error</p>
    <h3>The payout to Northgate Co-op did not go through</h3>
    <p>Their bank turned down the transfer of £1,284.50 for last week's veg boxes. Nothing has left your account.</p>
    <div class="acts"><button type="button">Try the payout again</button><a href="#">Check their bank details</a></div>
    <details>
      <summary><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="M9 6l6 6-6 6"/></svg><span>Technical details</span></summary>
      <dl>
        <div><dt>Code</dt><dd>AC04, account closed</dd></div>
        <div><dt>Reference</dt><dd>PO-7731-NG</dd></div>
        <div><dt>Attempted</dt><dd>Tue 24 Nov, 09:02</dd></div>
        <div><dt>Bank</dt><dd>Fenland Mutual</dd></div>
      </dl>
      <p class="tip">Quote the reference if you ring the bank or write to us.</p>
    </details>
  </div>
</div>
</div>

More alerts and banners

All 26
  • Skerry LineHarbour office, Pier 2

    Fares change on 1 April

    Fuel and harbour dues went up this winter, so most tickets rise by about six percent. Anything bought before 1 April is good at the old fare all season.

    Return fares, Skerry to Holm
    TicketUntil 31 MarchFrom 1 April
    Foot passenger£12.60£13.40
    Car and driver£46.00£48.80
    Bicycle£4.00£4.00 no change

    Ines Halvorsen Harbour master

    Buy tickets at the current fare

    Price change letter

  • Cancelled your Thursday 7:30 AM reformer class

    Undo with a timer

  • 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