Processing your request
Please wait while we process your request. Do not refresh the page.
<link rel="stylesheet" href="https://esm.sh/@erikt/ui/loading.css" />
<button aria-busy>Saving…</button>
Any element with aria-busy gets a spinner via
::before.
<div style="width: 1lh" aria-busy></div>
Center a spinner in a .card for a panel that blocks
the view while something loads.
Please wait while we process your request. Do not refresh the page.
<article class="card empty">
<span
aria-busy
style="
width: 2.5rem;
height: 2.5rem;
border-radius: 8px;
background: var(--ui-neutral-100);
display: grid;
place-items: center;
"
></span>
<h4>Processing your request</h4>
<p>Please wait while we process your request. Do not refresh the page.</p>
<button class="outlined">Cancel</button>
</article>