Components / Progress and loaders
Loading overlay
A ring spinner on its own track, laid over the card it is loading so the layout does not jump when the data lands.
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-progress-carbon-loading">
<div class="wrap" aria-busy="true">
<div class="sheet" aria-hidden="true">
<p class="id">JS-1042 · Kessler deck rebuild</p>
<dl>
<div><dt>Labour</dt><dd>18 h</dd></div>
<div><dt>Materials</dt><dd>$1,240.00</dd></div>
<div><dt>Crew</dt><dd>3 people</dd></div>
</dl>
</div>
<div class="overlay" role="status">
<svg class="spin" viewBox="0 0 100 100" aria-hidden="true"><circle class="bg" cx="50" cy="50" r="44"/><circle class="fg" cx="50" cy="50" r="44"/></svg>
<span>Loading job sheet</span>
</div>
</div>
</div>
.ukc-progress-carbon-loading { 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-progress-carbon-loading *, .ukc-progress-carbon-loading *::before, .ukc-progress-carbon-loading *::after { box-sizing: border-box; }
.ukc-progress-carbon-loading :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-carbon-loading :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-carbon-loading :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-carbon-loading :where(a) { color: inherit; }
.ukc-progress-carbon-loading svg { flex: none; }
.ukc-progress-carbon-loading .wrap { position: relative; max-width: 380px; overflow: hidden; border: var(--uk-border-width, 1px) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-surface); box-shadow: var(--uk-card-shadow, none); }
.ukc-progress-carbon-loading .sheet { display: grid; gap: 14px; padding: 18px 20px 20px; }
.ukc-progress-carbon-loading .id { font-family: var(--uk-font-display, inherit); font-size: 18px; }
.ukc-progress-carbon-loading dl { display: grid; gap: 8px; }
.ukc-progress-carbon-loading dl div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--uk-line); font-size: 14px; }
.ukc-progress-carbon-loading dt { color: var(--uk-muted); }
.ukc-progress-carbon-loading dd { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; }
.ukc-progress-carbon-loading .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: color-mix(in srgb, var(--uk-surface) 88%, transparent); font-size: 14px; font-weight: 600; }
.ukc-progress-carbon-loading .spin { width: 52px; height: 52px; animation: ukc-progress-carbon-loading-rotate 690ms linear infinite; }
.ukc-progress-carbon-loading .spin circle { fill: none; stroke-width: 10; stroke-dasharray: 276.5 276.5; }
.ukc-progress-carbon-loading .spin .bg { stroke: var(--uk-line); stroke-dashoffset: 0; }
.ukc-progress-carbon-loading .spin .fg { stroke: var(--uk-accent); stroke-dashoffset: 52.5; }
@keyframes ukc-progress-carbon-loading-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ukc-progress-carbon-loading .spin { animation: none; } }
More progress and loaders
All 29- Contact completed
- Site completed
- Scope
- Pricing not completed
- Review not completed
Step3of 5Describe the job
- 72%
Hours logged26 of 36 h
45%Materials in9 of 20 items
100%Deposit$1,200 paid
- Final photos14 uploaded, done
- Client sign-offSigned 18 Oct, done
- Final invoiceDraft · $3,480.00
- Ask for a reviewGoes out 2 days after payment
Hours this weekof 40 h each
Mara Reyes38 hTheo Lindqvist31 hDana Whitfield24 hSam Okafor11 hRequired job photos4 of 6
Safety checklist7 of 10
Sign-offs 3 of 3
October costs
$31,640
- Labour$16,45052%
- Materials$9,81031%
- Subcontractors$3,80012%
- Other$1,5805%