Components / Progress and loaders
Fundraising thermometer
The village-hall thermometer: a tube that fills toward the goal, a scale beside it, and the milestones it has passed. For appeals and team targets.
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
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-goal-thermometer">
<section class="fund">
<div class="thermo" style="--v: 0.685">
<div class="tube" role="progressbar" aria-label="Lido roof fund" aria-valuenow="27400" aria-valuemin="0" aria-valuemax="40000" aria-valuetext="$27,400 of $40,000 raised"><span class="merc"></span></div>
<span class="bulb" aria-hidden="true"></span>
<ol class="scale" aria-hidden="true">
<li style="bottom: 100%">$40k</li>
<li style="bottom: 75%">$30k</li>
<li class="hit" style="bottom: 50%">$20k</li>
<li class="hit" style="bottom: 25%">$10k</li>
</ol>
</div>
<div class="info">
<p class="kicker">Aldgrove Lido roof fund</p>
<p class="big"><strong>$27,400</strong> raised of $40,000</p>
<p class="sub">312 neighbours have chipped in. 19 days to go.</p>
<ul class="marks">
<li class="hit"><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><strong>$10k</strong> Scaffold booked<span class="sr">, reached</span></span></li>
<li class="hit"><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><strong>$20k</strong> Timber ordered<span class="sr">, reached</span></span></li>
<li><i></i><span><strong>$30k</strong> Glazing, $2,600 to go</span></li>
<li><i></i><span><strong>$40k</strong> Roof on by May</span></li>
</ul>
<button type="button" class="give">Chip in</button>
</div>
</section>
</div>
.ukc-progress-goal-thermometer { 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-goal-thermometer *, .ukc-progress-goal-thermometer *::before, .ukc-progress-goal-thermometer *::after { box-sizing: border-box; }
.ukc-progress-goal-thermometer :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-goal-thermometer :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-goal-thermometer :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-goal-thermometer :where(a) { color: inherit; }
.ukc-progress-goal-thermometer svg { flex: none; }
.ukc-progress-goal-thermometer .fund { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; max-width: 460px; }
.ukc-progress-goal-thermometer .thermo { position: relative; flex: none; width: 96px; height: 244px; margin-left: 13px; }
.ukc-progress-goal-thermometer .tube { position: absolute; z-index: 1; top: 0; bottom: 48px; left: 0; width: 26px; overflow: hidden; border: 3px solid var(--uk-ink); border-bottom: 0; border-radius: 999px 999px 0 0; background: var(--uk-paper); }
.ukc-progress-goal-thermometer .merc { position: absolute; right: 0; bottom: 0; left: 0; height: calc((100% - 12px) * var(--v)); background: var(--uk-accent); }
.ukc-progress-goal-thermometer .bulb { position: absolute; bottom: 0; left: -13px; width: 52px; height: 52px; border: 3px solid var(--uk-ink); border-radius: 999px; background: var(--uk-accent); }
.ukc-progress-goal-thermometer .bulb::before { content: ""; position: absolute; top: -4px; left: calc(50% - 10px); width: 20px; height: 12px; background: var(--uk-accent); }
.ukc-progress-goal-thermometer .scale { position: absolute; top: 12px; bottom: 48px; left: 32px; }
.ukc-progress-goal-thermometer .scale li { position: absolute; left: 0; display: flex; align-items: center; gap: 6px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; line-height: 1; color: var(--uk-muted); white-space: nowrap; transform: translateY(50%); }
.ukc-progress-goal-thermometer .scale li::before { content: ""; width: 9px; border-top: 2px solid var(--line-strong); }
.ukc-progress-goal-thermometer .scale .hit { color: var(--uk-ink); font-weight: 700; }
.ukc-progress-goal-thermometer .scale .hit::before { width: 14px; border-color: var(--uk-ink); }
.ukc-progress-goal-thermometer .info { flex: 1 1 210px; display: grid; gap: 8px; }
.ukc-progress-goal-thermometer .kicker { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-progress-goal-thermometer .big { font-size: 15px; line-height: 1.2; }
.ukc-progress-goal-thermometer .big strong { display: block; font-family: var(--uk-font-display, inherit); font-size: 38px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ukc-progress-goal-thermometer .sub { font-size: 14px; color: var(--uk-muted); }
.ukc-progress-goal-thermometer .marks { display: grid; gap: 5px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--uk-line); font-size: 14px; }
.ukc-progress-goal-thermometer .marks li { display: flex; align-items: center; gap: 8px; color: var(--uk-muted); }
.ukc-progress-goal-thermometer .marks li > i { width: 14px; height: 14px; border: 1.5px dashed var(--line-strong); border-radius: 999px; }
.ukc-progress-goal-thermometer .marks strong { display: inline-block; min-width: 38px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; font-weight: 500; }
.ukc-progress-goal-thermometer .marks .hit { color: var(--uk-ink); }
.ukc-progress-goal-thermometer .marks .hit strong { font-weight: 700; }
.ukc-progress-goal-thermometer .give { width: fit-content; margin-top: 6px; padding: 9px 20px; border: var(--uk-border-width, 1px) solid var(--uk-accent); border-radius: var(--uk-radius-md); background: var(--uk-accent); color: var(--uk-accent-ink); font-weight: 600; cursor: pointer; }
.ukc-progress-goal-thermometer .give:hover { background: var(--accent-deep); }
.ukc-progress-goal-thermometer .give:focus-visible { outline: 2px solid var(--uk-ink); outline-offset: 2px; }
.ukc-progress-goal-thermometer .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
More progress and loaders
All 29Low 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
Restoring your photo library
From the backup made on 21 Nov at 3:10 am
46%
Checked the backup is complete, done
0:42Downloaded the index, done
1:15Matched albumsDone, with a note: 3 albums had no cover and were given their first photo.
0:09Copying photos18,204 of 41,930 · 212 GB
11:36Rebuilding thumbnails
about 6 minFinal check
about 1 min