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.
Error
The payout to Northgate Co-op did not go through
Their bank turned down the transfer of £1,284.50 for last week's veg boxes. Nothing has left your account.
Technical details
- Code
- AC04, account closed
- Reference
- PO-7731-NG
- Attempted
- Tue 24 Nov, 09:02
- Bank
- Fenland Mutual
Quote the reference if you ring the bank or write to us.
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>
.ukc-alert-error-details { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-alert-error-details *, .ukc-alert-error-details *::before, .ukc-alert-error-details *::after { box-sizing: border-box; }
.ukc-alert-error-details :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-alert-error-details :where(ul, ol) { padding: 0; list-style: none; }
.ukc-alert-error-details :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-alert-error-details :where(a) { color: inherit; }
.ukc-alert-error-details svg { flex: none; }
.ukc-alert-error-details .ed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; max-width: 600px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--uk-danger) 50%, var(--uk-paper)); border-radius: min(var(--uk-radius-lg), 14px); background: var(--uk-paper); box-shadow: inset 0 4px 0 var(--uk-danger); }
.ukc-alert-error-details .ic { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 4px; border-radius: var(--uk-radius-sm); background: var(--danger-tint); color: var(--uk-danger); }
.ukc-alert-error-details .main { display: grid; gap: 6px; min-width: 0; padding-top: 4px; }
.ukc-alert-error-details .k { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--uk-danger); }
.ukc-alert-error-details h3 { font-size: 18px; line-height: 1.25; }
.ukc-alert-error-details .main > p:not(.k) { font-size: 14px; color: var(--uk-muted); }
.ukc-alert-error-details .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 6px 0 4px; font-size: 14px; }
.ukc-alert-error-details .acts button { padding: 8px 14px; border: 0; border-radius: var(--uk-radius-md); background: var(--uk-ink); color: var(--uk-paper); font-weight: 600; cursor: pointer; }
.ukc-alert-error-details .acts a { text-underline-offset: 3px; }
.ukc-alert-error-details summary { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 13px; color: var(--uk-muted); cursor: pointer; list-style: none; }
.ukc-alert-error-details summary::-webkit-details-marker { display: none; }
.ukc-alert-error-details summary svg { transition: transform var(--uk-motion-duration, 0.15s) var(--uk-motion-ease, ease); }
.ukc-alert-error-details details[open] summary svg { transform: rotate(90deg); }
.ukc-alert-error-details dl { display: grid; margin: 6px 0 0; border: 1px solid var(--uk-line); border-radius: min(var(--uk-radius-sm), 8px); background: var(--uk-surface); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; }
.ukc-alert-error-details dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 7px 12px; }
.ukc-alert-error-details dl div + div { border-top: 1px dashed var(--uk-line); }
.ukc-alert-error-details dt { color: var(--uk-muted); }
.ukc-alert-error-details .tip { margin-top: 8px; font-size: 13px; color: var(--uk-muted); }
.ukc-alert-error-details .acts button:focus-visible, .ukc-alert-error-details .acts a:focus-visible, .ukc-alert-error-details summary:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ukc-alert-error-details summary svg { transition: none; } }
More alerts and banners
All 26Skerry 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 Ticket Until 31 March From 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 fareCancelled your Thursday 7:30 AM reformer class
Important
Inspections are paused on 24 and 25 December.
Book before 20 December to be seen this year.
Success
Your permit application was sent.
We emailed a copy to mara@reyesframing.com.
- Warning You can be fined up to $5,000 if you start work without a permit.
Application complete
Your reference number
HDN-2026-4417