Components / Progress and loaders
Checklist that fills its bar
A real checklist: tick a job and the bar grows, the count goes up, and the note at the bottom changes when the last one is done. No script needed.
Fennel and Rye · Saturday open
Before the doors at 7:30
of 6 done
to go before the doors open.
All six done. Flip the sign and open up.
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-tick-to-fill">
<section class="open">
<header class="top"><p class="k">Fennel and Rye · Saturday open</p><h3 id="ukc-progress-tick-to-fill-h">Before the doors at 7:30</h3></header>
<div class="bar" aria-hidden="true"><span></span></div>
<ul class="items" aria-labelledby="ukc-progress-tick-to-fill-h">
<li><input type="checkbox" id="ukc-progress-tick-to-fill-1" checked><label for="ukc-progress-tick-to-fill-1"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Deck oven on at 230 °C</strong><small>It needs 40 minutes to come up</small></span><span class="who">Priya</span></label></li>
<li><input type="checkbox" id="ukc-progress-tick-to-fill-2" checked><label for="ukc-progress-tick-to-fill-2"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Grinder dialled in</strong><small>18 g in, 36 g out, 28 seconds</small></span><span class="who">Tomas</span></label></li>
<li><input type="checkbox" id="ukc-progress-tick-to-fill-3" checked><label for="ukc-progress-tick-to-fill-3"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Pastry case filled</strong><small>Morning buns to the front</small></span><span class="who">Priya</span></label></li>
<li><input type="checkbox" id="ukc-progress-tick-to-fill-4" checked><label for="ukc-progress-tick-to-fill-4"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Float counted</strong><small>$150 in the till</small></span><span class="who">Tomas</span></label></li>
<li><input type="checkbox" id="ukc-progress-tick-to-fill-5"><label for="ukc-progress-tick-to-fill-5"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Fridge temperatures logged</strong><small>Both under 5 °C</small></span><span class="who">Priya</span></label></li>
<li><input type="checkbox" id="ukc-progress-tick-to-fill-6"><label for="ukc-progress-tick-to-fill-6"><span class="box"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="tx"><strong>Tables and chalkboard out</strong><small>Today's soup is leek and potato</small></span><span class="who">Tomas</span></label></li>
</ul>
<p class="ct"><span class="n"></span> of 6 done</p>
<p class="state wait"><span class="left"></span> to go before the doors open.</p>
<p class="state go"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg>All six done. Flip the sign and open up.</p>
</section>
</div>
.ukc-progress-tick-to-fill { 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-tick-to-fill *, .ukc-progress-tick-to-fill *::before, .ukc-progress-tick-to-fill *::after { box-sizing: border-box; }
.ukc-progress-tick-to-fill :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-tick-to-fill :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-tick-to-fill :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-tick-to-fill :where(a) { color: inherit; }
.ukc-progress-tick-to-fill svg { flex: none; }
.ukc-progress-tick-to-fill .open { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; max-width: 440px; padding: 18px; border: var(--uk-border-width, 1px) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-paper); box-shadow: var(--uk-card-shadow, none); counter-reset: ukc-ticked ukc-left; }
.ukc-progress-tick-to-fill .top { grid-column: 1; grid-row: 1; }
.ukc-progress-tick-to-fill .k { font-size: 13px; color: var(--uk-muted); }
.ukc-progress-tick-to-fill .top h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ukc-progress-tick-to-fill .ct { grid-column: 2; grid-row: 1; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; color: var(--uk-muted); white-space: nowrap; }
.ukc-progress-tick-to-fill .ct .n::before { content: counter(ukc-ticked); font-size: 28px; line-height: 1; letter-spacing: -0.03em; color: var(--uk-ink); }
.ukc-progress-tick-to-fill .bar { grid-column: 1 / -1; grid-row: 2; height: 10px; margin-top: 12px; overflow: hidden; border-radius: var(--uk-radius-sm); background: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--uk-line); }
.ukc-progress-tick-to-fill .bar span { display: block; width: calc((var(--c1, 0) + var(--c2, 0) + var(--c3, 0) + var(--c4, 0) + var(--c5, 0) + var(--c6, 0)) / 6 * 100%); height: 100%; background: var(--uk-accent); transition: width var(--uk-motion-duration, 180ms) var(--uk-motion-ease, ease); }
.ukc-progress-tick-to-fill .open:has(li:nth-child(1) input:checked) { --c1: 1; }
.ukc-progress-tick-to-fill .open:has(li:nth-child(2) input:checked) { --c2: 1; }
.ukc-progress-tick-to-fill .open:has(li:nth-child(3) input:checked) { --c3: 1; }
.ukc-progress-tick-to-fill .open:has(li:nth-child(4) input:checked) { --c4: 1; }
.ukc-progress-tick-to-fill .open:has(li:nth-child(5) input:checked) { --c5: 1; }
.ukc-progress-tick-to-fill .open:has(li:nth-child(6) input:checked) { --c6: 1; }
.ukc-progress-tick-to-fill .items { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
.ukc-progress-tick-to-fill .items li { position: relative; }
.ukc-progress-tick-to-fill .items li + li { border-top: 1px solid var(--uk-line); }
.ukc-progress-tick-to-fill input { position: absolute; top: 11px; left: 2px; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.ukc-progress-tick-to-fill input:checked { counter-increment: ukc-ticked; }
.ukc-progress-tick-to-fill input:not(:checked) { counter-increment: ukc-left; }
.ukc-progress-tick-to-fill label { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 2px; cursor: pointer; }
.ukc-progress-tick-to-fill .box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--line-strong); border-radius: min(var(--uk-radius-sm), 5px); color: transparent; }
.ukc-progress-tick-to-fill label:hover .box { border-color: var(--uk-ink); }
.ukc-progress-tick-to-fill input:checked + label .box { border-color: var(--uk-ink); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-progress-tick-to-fill .tx { display: grid; }
.ukc-progress-tick-to-fill .tx strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.ukc-progress-tick-to-fill .tx small { font-size: 13px; color: var(--uk-muted); }
.ukc-progress-tick-to-fill input:checked + label .tx strong { font-weight: 500; color: var(--uk-muted); text-decoration: line-through; }
.ukc-progress-tick-to-fill .who { padding-top: 2px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; color: var(--uk-muted); }
.ukc-progress-tick-to-fill input:focus-visible + label { border-radius: min(var(--uk-radius-sm), 5px); outline: 2px solid var(--uk-accent); outline-offset: 1px; }
.ukc-progress-tick-to-fill .state { grid-column: 1 / -1; grid-row: 4; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 12px; border-radius: min(var(--uk-radius-md), 10px); font-size: 13px; }
.ukc-progress-tick-to-fill .wait { display: block; background: var(--ink-soft); color: var(--uk-muted); }
.ukc-progress-tick-to-fill .left::before { content: counter(ukc-left); font-weight: 700; color: var(--uk-ink); }
.ukc-progress-tick-to-fill .go { display: none; background: var(--uk-ink); color: var(--uk-paper); font-weight: 600; }
.ukc-progress-tick-to-fill .open:not(:has(input:not(:checked))) .go { display: flex; }
.ukc-progress-tick-to-fill .open:not(:has(input:not(:checked))) .wait { display: none; }
.ukc-progress-tick-to-fill .open:not(:has(input:not(:checked))) .bar span { background: var(--uk-ink); }
More progress and loaders
All 29The Marram Press · subscription edition
Salt Roads, set by hand in an edition of 700
We ink the press once 500 copies are spoken for. 94 more and the type goes in the chase.
- Reserved
- 406
- Press at
- 500
- List closes
- 14 March
Garsdale Walling · Low Ings boundary
34 of 50 metres of wall laid
16 metres to the gatepost. At this week's pace that is eight more dry days.
- Laid this week
- 9 m
- Stone used
- 41 tonnes
- Due
- 19 December
Saltwick Films · The Ferryman's Daughter
Shoot budget against shoot days
Spending ahead of the days
- Days shot
- 12 of 2060%
- Spent
- $310,800 of $420,00074%
- Money lasts until
- Day 16
Where the extra went
- Night shoots at the harbour$27,400
- Generator and lighting hire$18,900
- Weather day, crew held$12,500
At $25,900 a day the budget runs out four days early. See the daily spend