Components / Progress and loaders
Place in the queue
A line of people at a counter with you picked out by a tag, so the wait reads as a place in line and not a percent. For walk-in queues and call-backs.
Hollis Street Pharmacy · prescriptions
You are 5th in the queue
- You
About 9 minutes. The counter is serving ticket B41 and yours is B46.
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-queue-place">
<section class="q">
<header class="top"><p class="k">Hollis Street Pharmacy · prescriptions</p><h3>You are 5th in the queue</h3></header>
<div class="line" role="img" aria-label="4 people are ahead of you and 3 are behind">
<span class="desk">Counter 2</span>
<ol>
<li><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li><li><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li><li><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li><li><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li>
<li class="you"><b class="tag">You</b><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li>
<li class="after"><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li><li class="after"><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li><li class="after"><svg viewBox="0 0 24 34" aria-hidden="true"><circle cx="12" cy="8" r="6"/><path d="M3 33v-7a9 9 0 0 1 18 0v7z"/></svg></li>
</ol>
</div>
<p class="sub">About 9 minutes. The counter is serving ticket <strong>B41</strong> and yours is <strong>B46</strong>.</p>
<div class="acts"><button type="button" class="main">Text me when I am next</button><button type="button">Leave the queue</button></div>
</section>
</div>
.ukc-progress-queue-place { 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-queue-place *, .ukc-progress-queue-place *::before, .ukc-progress-queue-place *::after { box-sizing: border-box; }
.ukc-progress-queue-place :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-queue-place :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-queue-place :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-queue-place :where(a) { color: inherit; }
.ukc-progress-queue-place svg { flex: none; }
.ukc-progress-queue-place .q { max-width: 420px; }
.ukc-progress-queue-place .k { 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-queue-place .top h3 { font-family: var(--uk-font-display, inherit); font-size: 26px; font-weight: 700; line-height: 1.2; }
.ukc-progress-queue-place .line { display: flex; align-items: flex-end; gap: 12px; margin-top: 46px; border-bottom: 3px solid var(--uk-ink); }
.ukc-progress-queue-place .desk { flex: none; display: grid; place-items: center; width: 58px; height: 46px; padding: 0 4px; border: 2px solid var(--uk-ink); border-bottom: 0; border-radius: min(var(--uk-radius-sm), 4px) min(var(--uk-radius-sm), 4px) 0 0; background: var(--uk-surface); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10px; font-weight: 700; line-height: 1.25; text-align: center; text-transform: uppercase; }
.ukc-progress-queue-place .line ol { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 5px; }
.ukc-progress-queue-place .line li { position: relative; flex: 1 1 0; min-width: 0; max-width: 26px; }
.ukc-progress-queue-place .line svg { display: block; width: 100%; height: auto; fill: var(--uk-ink); }
.ukc-progress-queue-place .line .you { flex-grow: 1.4; max-width: 36px; margin: 0 3px; }
.ukc-progress-queue-place .line .you svg { fill: var(--uk-accent); }
.ukc-progress-queue-place .line .after svg { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 2.5; }
.ukc-progress-queue-place .tag { position: absolute; bottom: calc(100% + 9px); left: 50%; translate: -50% 0; padding: 1px 9px; border-radius: var(--uk-radius-sm); background: var(--uk-accent); color: var(--uk-accent-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ukc-progress-queue-place .tag::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--uk-accent); }
.ukc-progress-queue-place .sub { margin-top: 12px; font-size: 14px; color: var(--uk-muted); }
.ukc-progress-queue-place .sub strong { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; font-weight: 500; color: var(--uk-ink); }
.ukc-progress-queue-place .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ukc-progress-queue-place button { padding: 7px 16px; border: var(--uk-border-width, 1px) solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-paper); font-size: 14px; font-weight: 600; cursor: pointer; }
.ukc-progress-queue-place button:hover { border-color: var(--uk-ink); }
.ukc-progress-queue-place button.main { border-color: var(--uk-ink); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-progress-queue-place button:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
More progress and loaders
All 29Fennel 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 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