Components / Progress and loaders
Checkout chevrons
Arrow-shaped steps that lock into each other, done ones ticked and tinted, the current one filled. For a short checkout or order flow.
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-checkout-chevrons">
<nav class="co" aria-label="Order progress">
<ol>
<li class="done"><span><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="M5 12.5l4.5 4.5L19 7.5"/></svg>Items<span class="sr">, done</span></span></li>
<li class="done"><span><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="M5 12.5l4.5 4.5L19 7.5"/></svg>Delivery<span class="sr">, done</span></span></li>
<li class="cur" aria-current="step"><span>Payment</span></li>
<li><span>Review</span></li>
</ol>
<p class="sub">Step 3 of 4 · Timber and fixings from Cobb Lane Timber, $2,184.60</p>
</nav>
</div>
.ukc-progress-checkout-chevrons { 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-checkout-chevrons *, .ukc-progress-checkout-chevrons *::before, .ukc-progress-checkout-chevrons *::after { box-sizing: border-box; }
.ukc-progress-checkout-chevrons :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-checkout-chevrons :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-checkout-chevrons :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-checkout-chevrons :where(a) { color: inherit; }
.ukc-progress-checkout-chevrons svg { flex: none; }
.ukc-progress-checkout-chevrons .co { max-width: 460px; }
.ukc-progress-checkout-chevrons ol { display: flex; }
.ukc-progress-checkout-chevrons li { --notch: 12px; flex: 1 1 0; min-width: 0; height: 40px; display: grid; place-items: center; padding: 0 var(--notch) 0 calc(var(--notch) + 4px); background: var(--ink-soft); color: var(--uk-muted); font-size: 13px; font-weight: 600; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%); }
.ukc-progress-checkout-chevrons li + li { margin-left: calc(var(--notch) * -1 + 3px); }
.ukc-progress-checkout-chevrons li:first-child { padding-left: 10px; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); }
.ukc-progress-checkout-chevrons li:last-child { padding-right: 10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%); }
.ukc-progress-checkout-chevrons li > span { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; overflow: hidden; white-space: nowrap; }
.ukc-progress-checkout-chevrons .done { background: var(--tint); color: var(--accent-deep); }
.ukc-progress-checkout-chevrons .cur { background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-progress-checkout-chevrons .sub { margin-top: 10px; font-size: 13px; color: var(--uk-muted); }
.ukc-progress-checkout-chevrons .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
More progress and loaders
All 2931%margin
Kessler deck rebuildTarget 25% · quoted at 28% 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
Aldgrove 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
-