Red word band
A full-width red band of wide black words separated by dashes running left forever over a black dot grid; pauses on hover.
Part of the style
Red Hour
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/red-hour/ticker/figma.html?palette=de6f3284c0839abb
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/red-hour/ticker/figma.html?palette=de6f3284c0839abb and pass that whole HTML document to the html_to_figma tool, so the part "Red word 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 {
--ink: #f9fbfc;
--night: #b9c1c6;
--night-2: #aab3b8;
--night-3: #94a0a6;
--dot: rgba(249, 251, 252, 0.55);
--dot-dark: rgba(0, 3, 13, 0.12);
--text: #00030d;
--text-mid: #232f40;
--text-dim: rgba(0, 3, 13, 0.5);
--signal: #6f7681;
--signal-deep: #80858c;
--violet: #6f7681;
--violet-pale: #303134;
--lilac: #6e7072;
--plum: #5b626d;
--mint: #434953;
--moss: #95999e;
--leaf: #5d6066;
--sage: #3b3d40;
}
</style>
<section class="ticker" aria-label="Where we work">
<div class="ticker__band">
<div class="ticker__track">
<span class="ticker__item">Workshop</span>
<span class="ticker__item">Taller</span>
<span class="ticker__item">Werkstatt</span>
<span class="ticker__item">Pracownia</span>
<span class="ticker__item">Bottega</span>
<span class="ticker__item">Room</span>
</div>
</div>
<div class="ticker__band ticker__band--back" aria-hidden="true">
<div class="ticker__track">
<span class="ticker__item">Signs</span>
<span class="ticker__item">Screens</span>
<span class="ticker__item">Sound</span>
<span class="ticker__item">Since 2019</span>
</div>
</div>
<p class="ticker__caption">Same bench, six languages. Hover to hold it</p>
</section>
<style>
.ticker {
display: grid;
align-content: center;
gap: var(--space-m);
min-height: clamp(380px, 52vw, 640px);
padding: var(--space-xl) 0;
background-color: var(--ink);
background-image: radial-gradient(circle, var(--dot-dark) 1px, transparent 1.6px);
background-size: var(--grid-step) var(--grid-step);
background-position: center;
}
.ticker__band {
overflow: hidden;
background: var(--signal);
color: var(--ink);
}
.ticker__track {
display: flex;
width: max-content;
animation: ticker-roll 26s linear infinite;
}
.ticker__band--back {
border-block: 2px solid var(--signal);
background: transparent;
color: var(--signal);
}
.ticker__band--back .ticker__track { animation-direction: reverse; animation-duration: 34s; }
.ticker__band:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
flex: none;
padding: 0.08em 0;
white-space: nowrap;
font-family: var(--font-display);
font-stretch: 125%;
font-weight: 900;
font-size: clamp(30px, 1rem + 2.8vw, 56px);
line-height: 1;
text-transform: uppercase;
letter-spacing: -0.02em;
}
.ticker__item::before {
content: "\2014";
padding: 0 0.3em;
}
.ticker__caption {
margin: 0;
padding: 0 var(--edge);
color: var(--text-dim);
font: 400 var(--text-xs)/1.4 var(--font-mono);
letter-spacing: 0.04em;
text-transform: uppercase;
text-align: center;
}
@keyframes ticker-roll { to { transform: translateX(-50%); } }
.ticker.is-offscreen *,
.ticker.is-offscreen *::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
</style>
<script>
(() => {
const watch = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-offscreen', !entry.isIntersecting);
});
document.querySelectorAll('.ticker').forEach((root) => watch.observe(root));
for (const track of document.querySelectorAll('.ticker__track')) {
for (const item of [...track.children]) {
const copy = item.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
track.append(copy);
}
}
})();
</script>