Components / Progress and loaders
Delivery route
A van riding a route line between named stops, with the times it left or is due at each. For tracking one delivery from depot to door.
Pallet CF-20418
12 crates of roof slate
On the road
- Leeds depotLeft 9:05 am
- Sheffield hubLeft 10:40 am
- DerbyDue 12:50 pm
- NottinghamDue 2:10 pm
- Delivery window
- Today, 2:10 to 3:40 pm
- Distance
- 62 of 107 miles
- Driver
- Anneke, van 14
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-parcel-route">
<section class="ship">
<header class="top">
<div><p class="ref">Pallet CF-20418</p><h3>12 crates of roof slate</h3></div>
<p class="chip"><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="M2 6h11v10H2zM13 10h4.5l3.5 3.5V16h-8z"/><circle cx="6.5" cy="17.5" r="2" fill="currentColor"/><circle cx="17" cy="17.5" r="2" fill="currentColor"/></svg>On the road</p>
</header>
<div class="route" style="--p: 0.58">
<div class="track" role="progressbar" aria-label="Journey from Leeds to Nottingham" aria-valuenow="58" aria-valuemin="0" aria-valuemax="100" aria-valuetext="62 of 107 miles, between Sheffield and Derby"><span class="fill"></span><span class="van"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 6h11v10H2zM13 10h4.5l3.5 3.5V16h-8z"/><circle cx="6.5" cy="17.5" r="2" fill="currentColor"/><circle cx="17" cy="17.5" r="2" fill="currentColor"/></svg></span></div>
<ol class="stops">
<li class="past"><span class="dot"></span><strong>Leeds depot</strong><span>Left 9:05 am</span></li>
<li class="past"><span class="dot"></span><strong>Sheffield hub</strong><span>Left 10:40 am</span></li>
<li><span class="dot"></span><strong>Derby</strong><span>Due 12:50 pm</span></li>
<li><span class="dot"></span><strong>Nottingham</strong><span>Due 2:10 pm</span></li>
</ol>
</div>
<dl class="facts">
<div><dt>Delivery window</dt><dd>Today, 2:10 to 3:40 pm</dd></div>
<div><dt>Distance</dt><dd>62 of 107 miles</dd></div>
<div><dt>Driver</dt><dd>Anneke, van 14</dd></div>
</dl>
</section>
</div>
.ukc-progress-parcel-route { 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-parcel-route *, .ukc-progress-parcel-route *::before, .ukc-progress-parcel-route *::after { box-sizing: border-box; }
.ukc-progress-parcel-route :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-parcel-route :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-parcel-route :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-parcel-route :where(a) { color: inherit; }
.ukc-progress-parcel-route svg { flex: none; }
.ukc-progress-parcel-route .ship { max-width: 500px; overflow: hidden; border: var(--uk-border-width, 1px) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-paper); }
.ukc-progress-parcel-route .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 16px 18px 0; }
.ukc-progress-parcel-route .ref { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; color: var(--uk-muted); }
.ukc-progress-parcel-route .top h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.ukc-progress-parcel-route .chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--uk-radius-sm); background: var(--tint-strong); font-size: 13px; font-weight: 600; }
.ukc-progress-parcel-route .route { position: relative; padding: 46px 6px 18px; }
.ukc-progress-parcel-route .track { position: absolute; top: 51px; left: 12.5%; right: 12.5%; height: 4px; background: var(--uk-line); }
.ukc-progress-parcel-route .fill { position: absolute; inset: 0 auto 0 0; width: calc(100% * var(--p)); background: var(--uk-accent); }
.ukc-progress-parcel-route .van { position: absolute; bottom: 9px; left: calc(100% * var(--p)); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--uk-accent); color: var(--uk-accent-ink); transform: translateX(-50%); }
.ukc-progress-parcel-route .van::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 9px; margin-left: -1px; background: var(--uk-accent); }
.ukc-progress-parcel-route .stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ukc-progress-parcel-route .stops li { display: grid; justify-items: center; align-content: start; padding: 0 3px; font-size: 12px; line-height: 1.3; color: var(--uk-muted); text-align: center; overflow-wrap: break-word; }
.ukc-progress-parcel-route .stops strong { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--uk-ink); }
.ukc-progress-parcel-route .dot { width: 14px; height: 14px; border: 3px solid var(--line-strong); border-radius: 999px; background: var(--uk-paper); }
.ukc-progress-parcel-route .past .dot { border-color: var(--uk-accent); background: var(--uk-accent); }
.ukc-progress-parcel-route .facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 14px 18px 16px; border-top: 1px solid var(--uk-line); background: var(--uk-surface); }
.ukc-progress-parcel-route .facts dt { font-size: 12px; color: var(--uk-muted); }
.ukc-progress-parcel-route .facts dd { font-size: 14px; font-weight: 600; }
More progress and loaders
All 29Aldgrove Lido roof fund
$27,400 raised of $40,000
312 neighbours have chipped in. 19 days to go.
- $10k Scaffold booked, reached
- $20k Timber ordered, reached
- $30k Glazing, $2,600 to go
- $40k Roof on by May
Low Tide · Side A
The Harbour Lights, mix 3
64% printed to tape
Track 7 of 11, Saltmarsh. 2 min 51 s left on this side.
Harvest, week 6 of 9
Picked so far
-
68%
41 of 60 tonnes
-
100%
All 24 tonnes in, finished 3 October
-
30%
9 of 30 tonnes
-
18:24left of 45 min
Second proof
Batch 3, country loaves
Oven 2 is heating and will be at 220 °C by 6:10 am.
Evening Portuguese · Level A2
Unit 3 of 6, at the market
46%
22 of 48 lessons done · next class Thursday, 7 pm
Saying hello8 of 8 lessons, finished
Quiz 9/10Getting around8 of 8 lessons, finished
Quiz 7/10At the market6 of 8 lessons
ContinueFood and familyOpens when unit 3 is done
Making plansLocked
Telling a storyLocked