Numbered log rows
Rows of numbered entries in the main size with a small oval that spins and speed strokes that slide in on hover.
Part of the style
Speed Line Ovals
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/speed-line-ovals/log/figma.html
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/speed-line-ovals/log/figma.html and pass that whole HTML document to the html_to_figma tool, so the part "Numbered log rows" 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
<section class="log" aria-labelledby="log-title">
<h2 class="log__title" id="log-title">Next rounds</h2>
<ol class="log__list">
<li class="log__row">
<a class="log__link" href="#">
<span class="log__num">#08</span>
<span class="log__name"><svg class="log__strokes" viewBox="0 0 60 32" aria-hidden="true" focusable="false"><line x1="2" y1="30" x2="22" y2="2" /><line x1="16" y1="30" x2="58" y2="10" /><line x1="30" y1="31" x2="58" y2="22" /></svg>Pickles and a projector</span>
<span class="log__place">Boat shed, north pier</span>
<time class="log__when" datetime="2027-05-03">May 3</time>
<img class="log__pic" src="assets/strawberries.jpg" alt="" width="800" height="573" loading="lazy">
</a>
</li>
<li class="log__row">
<a class="log__link" href="#">
<span class="log__num">#09</span>
<span class="log__name"><svg class="log__strokes" viewBox="0 0 60 32" aria-hidden="true" focusable="false"><line x1="2" y1="30" x2="22" y2="2" /><line x1="16" y1="30" x2="58" y2="10" /><line x1="30" y1="31" x2="58" y2="22" /></svg>Twelve kinds of bread</span>
<span class="log__place">Corner bakery, after nine</span>
<time class="log__when" datetime="2027-05-24">May 24</time>
<img class="log__pic" src="assets/fruitpiece.jpg" alt="" width="800" height="671" loading="lazy">
</a>
</li>
<li class="log__row">
<a class="log__link" href="#">
<span class="log__num">#10</span>
<span class="log__name"><svg class="log__strokes" viewBox="0 0 60 32" aria-hidden="true" focusable="false"><line x1="2" y1="30" x2="22" y2="2" /><line x1="16" y1="30" x2="58" y2="10" /><line x1="30" y1="31" x2="58" y2="22" /></svg>Fish on the roof</span>
<span class="log__place">Rooftop, Dock Street 14</span>
<time class="log__when" datetime="2027-06-12">June 12</time>
<img class="log__pic" src="assets/fish.jpg" alt="" width="800" height="634" loading="lazy">
</a>
</li>
<li class="log__row">
<a class="log__link" href="#">
<span class="log__num">#11</span>
<span class="log__name"><svg class="log__strokes" viewBox="0 0 60 32" aria-hidden="true" focusable="false"><line x1="2" y1="30" x2="22" y2="2" /><line x1="16" y1="30" x2="58" y2="10" /><line x1="30" y1="31" x2="58" y2="22" /></svg>Midsummer, all lemons</span>
<span class="log__place">A garden, address by text</span>
<time class="log__when" datetime="2027-06-21">June 21</time>
<img class="log__pic" src="assets/lemons.jpg" alt="" width="800" height="662" loading="lazy">
</a>
</li>
</ol>
</section>
<style>
.log {
padding: var(--space-xl) var(--edge) var(--section-space);
perspective: 800px;
}
.log__title {
margin: 0 0 var(--space-l);
font: 900 clamp(44px, 7vw, 96px) / 0.9 var(--font-display);
letter-spacing: var(--track-display);
}
.log__list {
display: grid;
gap: var(--space-s);
margin: 0;
padding: 0;
list-style: none;
}
.log__link {
display: grid;
grid-template-columns: 4ch minmax(0, 1.6fr) minmax(0, 1fr) 7ch 88px;
align-items: center;
gap: var(--gap);
min-height: 72px;
color: var(--ink);
font: 600 var(--text-l) / var(--leading-l) var(--font-body);
letter-spacing: var(--track-tight);
text-decoration: none;
}
.log__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 4px;
}
.log__num {
color: var(--ink-soft);
font-weight: 800;
}
.log__name {
display: flex;
align-items: center;
}
.log__strokes {
flex: none;
width: 0;
height: 0.9em;
overflow: visible;
opacity: 0;
translate: -12px 0;
transition: width var(--quick) var(--ease), opacity var(--quick) var(--ease), translate var(--quick) var(--ease), margin var(--quick) var(--ease);
}
.log__strokes line {
stroke: var(--ink);
stroke-width: 4px;
vector-effect: non-scaling-stroke;
}
.log__place,
.log__when {
transition: color var(--quick) var(--ease);
}
.log__when {
font-weight: 800;
text-align: right;
}
.log__pic {
width: 88px;
height: 64px;
border-radius: var(--radius-oval);
background: var(--field);
object-fit: cover;
transition: transform 1.2s var(--ease);
}
.log__link:hover .log__strokes,
.log__link:focus-visible .log__strokes {
width: 1.8em;
margin-right: var(--space-s);
opacity: 1;
translate: 0 0;
}
.log__link:hover .log__place,
.log__link:hover .log__when,
.log__link:focus-visible .log__place {
color: var(--ink-soft);
}
.log__link:hover .log__pic,
.log__link:focus-visible .log__pic {
transform: rotate3d(1, 1, 1, 360deg);
}
@media (max-width: 52rem) {
.log__link {
grid-template-columns: auto minmax(0, 1fr) 72px;
grid-template-areas:
"num name pic"
"num place pic"
"num when pic";
column-gap: var(--space-m);
row-gap: 2px;
padding: var(--space-s) 0;
font-size: var(--text-m);
line-height: 1.25;
}
.log__num { grid-area: num; align-self: start; }
.log__name { grid-area: name; font-size: 22px; line-height: 1.15; }
.log__place { grid-area: place; color: var(--ink-soft); }
.log__when { grid-area: when; text-align: left; }
.log__pic { grid-area: pic; width: 72px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
.log__pic,
.log__strokes {
transition: none;
}
.log__link:hover .log__pic {
transform: none;
}
}
</style>