Components / Progress and loaders
Typing indicator
Three dots that hop in turn inside a chat bubble, with who is typing written underneath. They hold still when motion is reduced.
Theo Lindqvist
Old joists are out. Two are soft at the ends, sending photos now.
Dana Whitfield is typing
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-typing-dots">
<div class="chat">
<div class="msg"><span class="av" aria-hidden="true">TL</span><div><p class="who">Theo Lindqvist</p><p class="b">Old joists are out. Two are soft at the ends, sending photos now.</p></div></div>
<div class="msg"><span class="av two" aria-hidden="true">DW</span><div role="status"><span class="b dots" aria-hidden="true"><i></i><i></i><i></i></span><p class="st">Dana Whitfield is typing</p></div></div>
</div>
</div>
.ukc-progress-typing-dots { 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-typing-dots *, .ukc-progress-typing-dots *::before, .ukc-progress-typing-dots *::after { box-sizing: border-box; }
.ukc-progress-typing-dots :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-typing-dots :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-typing-dots :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-typing-dots :where(a) { color: inherit; }
.ukc-progress-typing-dots svg { flex: none; }
.ukc-progress-typing-dots .chat { display: grid; gap: 14px; max-width: 360px; }
.ukc-progress-typing-dots .msg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: end; }
.ukc-progress-typing-dots .av { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: var(--uk-ink); color: var(--uk-paper); font-size: 11px; font-weight: 700; }
.ukc-progress-typing-dots .av.two { background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-progress-typing-dots .msg:last-child .av { margin-bottom: 22px; }
.ukc-progress-typing-dots .who, .ukc-progress-typing-dots .st { font-size: 12px; color: var(--uk-muted); }
.ukc-progress-typing-dots .who { margin-bottom: 4px; }
.ukc-progress-typing-dots .st { margin-top: 5px; }
.ukc-progress-typing-dots .b { display: inline-block; padding: 9px 13px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-lg) var(--uk-radius-lg) var(--uk-radius-lg) min(var(--uk-radius-sm), 4px); background: var(--uk-surface); font-size: 14px; line-height: 1.4; }
.ukc-progress-typing-dots .dots { display: inline-flex; gap: 4px; padding: 13px 14px; }
.ukc-progress-typing-dots .dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--uk-muted); animation: ukc-progress-typing-dots-hop 1.2s ease-in-out infinite; }
.ukc-progress-typing-dots .dots i:nth-child(2) { animation-delay: 0.15s; }
.ukc-progress-typing-dots .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ukc-progress-typing-dots-hop { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ukc-progress-typing-dots .dots i { animation: none; opacity: 0.7; } }
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
-