Call tiles
Tiles for people on a call or a remote session: who is talking, who is muted, who dropped. The talker gets a ring and moving level bars that hold still when motion is reduced.
- Greta MollSpeaking
- Dev OseiListening
- Hana TakedaMuted
- Finn BarrosDropped, dialing back
Recording take 34 separate tracks
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-avatar-on-call">
<ul class="call">
<li class="talk"><span class="av a" aria-hidden="true">GM<span class="lvl"><i></i><i></i><i></i></span></span><span class="n">Greta Moll</span><span class="s">Speaking</span></li>
<li><span class="av b" aria-hidden="true">DO</span><span class="n">Dev Osei</span><span class="s">Listening</span></li>
<li class="quiet"><span class="av c" aria-hidden="true">HT<span class="mic"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="3" width="6" height="11" rx="3"/><path d="M6 11a6 6 0 0 0 12 0M12 17v4M4 4l16 16"/></svg></span></span><span class="n">Hana Takeda</span><span class="s">Muted</span></li>
<li class="lost"><span class="av d" aria-hidden="true">FB</span><span class="n">Finn Barros</span><span class="s">Dropped, dialing back</span></li>
</ul>
<p class="take"><i aria-hidden="true"></i><strong>Recording take 3</strong><time datetime="PT41M7S">41:07</time><span>4 separate tracks</span></p>
</div>
.ukc-avatar-on-call { 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-avatar-on-call *, .ukc-avatar-on-call *::before, .ukc-avatar-on-call *::after { box-sizing: border-box; }
.ukc-avatar-on-call :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-avatar-on-call :where(ul, ol) { padding: 0; list-style: none; }
.ukc-avatar-on-call :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-avatar-on-call :where(a) { color: inherit; }
.ukc-avatar-on-call svg { flex: none; }
.ukc-avatar-on-call .call { max-width: 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ukc-avatar-on-call .call li { display: grid; justify-items: center; padding: 16px 8px 12px; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-surface); text-align: center; line-height: 1.3; }
.ukc-avatar-on-call .av { position: relative; width: 52px; height: 52px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.ukc-avatar-on-call .a { background: var(--tint-strong); }
.ukc-avatar-on-call .b { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-avatar-on-call .c { background: var(--high-tint); }
.ukc-avatar-on-call .d { border: 1.5px dashed var(--line-strong); color: var(--uk-muted); }
.ukc-avatar-on-call .talk { border-color: var(--uk-accent); }
.ukc-avatar-on-call .talk .av { box-shadow: 0 0 0 2px var(--uk-surface), 0 0 0 4px var(--uk-accent); }
.ukc-avatar-on-call .lvl, .ukc-avatar-on-call .mic { position: absolute; right: -8px; bottom: -5px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 999px; box-shadow: 0 0 0 2px var(--uk-surface); }
.ukc-avatar-on-call .lvl { gap: 2px; padding: 0 6px; background: var(--uk-accent); }
.ukc-avatar-on-call .lvl i { width: 2px; height: 11px; border-radius: 1px; background: var(--uk-accent-ink); animation: ukc-avatar-on-call-level 0.9s ease-in-out infinite; }
.ukc-avatar-on-call .lvl i:nth-child(2) { animation-delay: -0.3s; }
.ukc-avatar-on-call .lvl i:nth-child(3) { animation-delay: -0.6s; }
.ukc-avatar-on-call .mic { width: 20px; background: var(--uk-ink); color: var(--uk-paper); }
.ukc-avatar-on-call .n { font-size: 14px; font-weight: 600; }
.ukc-avatar-on-call .s { font-size: 12px; color: var(--uk-muted); }
.ukc-avatar-on-call .talk .s { font-weight: 700; color: var(--uk-ink); }
.ukc-avatar-on-call .lost { border-style: dashed; }
.ukc-avatar-on-call .lost .n { font-weight: 400; color: var(--uk-muted); }
.ukc-avatar-on-call .take { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: 400px; margin-top: 12px; font-size: 13px; }
.ukc-avatar-on-call .take i { width: 9px; height: 9px; border-radius: 50%; background: var(--uk-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--uk-accent) 28%, transparent); }
.ukc-avatar-on-call .take time { font-family: var(--uk-font-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; }
.ukc-avatar-on-call .take span { margin-left: auto; color: var(--uk-muted); }
@keyframes ukc-avatar-on-call-level { 0%, 100% { scale: 1 0.3; } 50% { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .ukc-avatar-on-call .lvl i { animation: none; } .ukc-avatar-on-call .lvl i:nth-child(odd) { scale: 1 0.5; } }
More avatars
All 29Front desk handoverHarbour Lane Hotel, Friday
-
MBAPDone
Marguerite to Agnes
Late desk, 2:00 pm
-
APKMNow
Agnes to Kofi
Night desk, 10:00 pm. Room 14 checks in late
-
KM
Kofi to nobody yet
Day desk, 6:00 am. Needs cover
-
Working inKiln Road PotterySaturday Clay ClubImre Vass, personal
Who reports to whomSpoke and Sprocket Cycle Works
-
Lena HartmannOwner6 people
-
Ibrahim SesayWorkshop lead3 seats
- Coral WhyteMechanic
- Jun ParkWheel builder
- Apprentice mechanicOpen seat. See the listing
-
Tess RuizShop floor lead1 seat
- Mateus LimaSales, weekends
-
-
OM& Ottilie & Marcus
Wedding flowers · Sat 14 June
Ranunculus, sweet pea and olive. Final stem count is due on 30 May.
- Henrik & PauloAnniversary table
- Sunita & DaraRegistry office posies
- Wren & ElioBarn arch and aisle
Your pen palsSlow Post Club
-
Noor Haddad
Tangier
42 letters Your turn to write
-
Anders Holm
Bergen
17 letters Posted 3 Nov, no reply yet
-
Keiko Arai
Otaru
3 letters New this autumn
-