Activity band
A rose band with rounded ends where small activity notes with avatars tick sideways.
Part of the style
Dusty Status Cards
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/dusty-status-cards/ticker/figma.html?palette=ac2e9073e283de8d
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/dusty-status-cards/ticker/figma.html?palette=ac2e9073e283de8d and pass that whole HTML document to the html_to_figma tool, so the part "Activity band" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--stone: #1e1b11;
--white: #403d32;
--night: #d1ad7a;
--ink: #d1ad7a;
--ink-soft: #c1a782;
--ink-faint: #484024;
--rule: rgba(209, 173, 122, 0.16);
--button: #c5a26f;
--on-button: #403d32;
--sage: #3d3724;
--sage-ink: #ae9065;
--lilac: #5d331e;
--lilac-ink: #ed9e78;
--lilac-line: rgba(18, 3, 0, 0.3);
--lilac-deep: #663115;
--rose: #5b3417;
--rose-ink: #e7a474;
--ochre: #5d331e;
--ochre-ink: #9f7d6c;
}
</style>
<section class="ticker" aria-label="Latest activity">
<div class="ticker__band">
<div class="ticker__track">
<p class="ticker__item"><img class="ticker__face" src="assets/face-c.jpg" alt="" width="28" height="28">Bruno just joined a crew.</p>
<span class="ticker__rule" aria-hidden="true"></span>
<p class="ticker__item">New brief: a reading nook for a laundrette.</p>
<span class="ticker__rule" aria-hidden="true"></span>
<p class="ticker__item">(<span class="ticker__faces" aria-hidden="true"><img src="assets/face-a.jpg" alt="" width="24" height="24"><img src="assets/face-b.jpg" alt="" width="24" height="24"><img src="assets/face-e.jpg" alt="" width="24" height="24"></span>) Crew formed for a tea counter refit.</p>
<span class="ticker__rule" aria-hidden="true"></span>
<p class="ticker__item"><img class="ticker__face" src="assets/face-d.jpg" alt="" width="28" height="28">Window lettering signed off in Leith.</p>
<span class="ticker__rule" aria-hidden="true"></span>
</div>
</div>
</section>
<style>
.ticker {
background: var(--night);
padding-block: var(--seam);
}
.ticker__band {
overflow: hidden;
border-radius: 0 0 var(--radius-band) var(--radius-band);
background: var(--rose);
color: var(--rose-ink);
}
.ticker__track {
display: flex;
align-items: center;
width: max-content;
padding: var(--space-m) 0 var(--space-m);
animation: ticker-roll var(--ticker-time) linear infinite;
}
.ticker__band:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }
.ticker__item {
display: flex;
flex: none;
align-items: center;
gap: var(--space-xs);
margin: 0;
padding: 0 var(--space-m);
font-size: var(--text-l);
font-weight: var(--weight-light);
white-space: nowrap;
}
.ticker__face,
.ticker__faces img {
width: 1.75rem;
height: 1.75rem;
border-radius: var(--pill);
object-fit: cover;
object-position: 50% 22%;
}
.ticker__faces { display: flex; }
.ticker__faces img { width: 1.5rem; height: 1.5rem; border: 2px solid var(--rose); }
.ticker__faces img + img { margin-left: -0.4rem; }
.ticker__rule {
flex: none;
width: 2.5rem;
height: var(--line);
background: currentColor;
}
@media (prefers-reduced-motion: reduce) {
.ticker__track { animation: none; }
}
</style>
<script>
(() => {
for (const track of document.querySelectorAll('.ticker__track')) {
if (track.dataset.doubled) continue;
track.dataset.doubled = '1';
for (const item of [...track.children]) {
const copy = item.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
track.append(copy);
}
}
})();
</script>