Pill arch
An orange arch with a white label pill and rows of yellow menu pills, some with round photo thumbs, sliding endlessly in alternate directions.
Part of the style
Sunburst Sticker Arches
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/sunburst-sticker-arches/arch/figma.html
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/sunburst-sticker-arches/arch/figma.html and pass that whole HTML document to the html_to_figma tool, so the part "Pill arch" 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="arch">
<div class="arch__shape">
<h2 class="arch__label">On the counter</h2>
<div class="arch__rows">
<div class="arch__row">
<div class="arch__track">
<a class="arch__pill" href="#">Lemon Drizzle Tower</a>
<a class="arch__pill" href="#"><img class="arch__thumb" src="assets/lemons.jpg" alt="Painted lemons and grapes" width="36" height="36">Fruit tarts</a>
<a class="arch__pill" href="#">Birthday Bun Box</a>
<a class="arch__pill" href="#">Burnt honey loaf</a>
</div>
</div>
<div class="arch__row arch__row--back">
<div class="arch__track">
<a class="arch__pill" href="#">Name cakes</a>
<a class="arch__pill" href="#">Number cakes</a>
<a class="arch__pill" href="#"><img class="arch__thumb" src="assets/apples.jpg" alt="Painted apples on a white cloth" width="36" height="36">Apple stack</a>
<a class="arch__pill" href="#">Party plates</a>
</div>
</div>
<div class="arch__row">
<div class="arch__track">
<a class="arch__pill" href="#">Striped candles</a>
<a class="arch__pill" href="#">Sprinkle jars</a>
<a class="arch__pill" href="#">Lemon Drizzle Tower</a>
<a class="arch__pill" href="#">Cake for one</a>
</div>
</div>
<div class="arch__row arch__row--back">
<div class="arch__track">
<a class="arch__pill" href="#">Birthday Bun Box</a>
<a class="arch__pill" href="#">Tea for twelve</a>
<a class="arch__pill" href="#">Cupcake towers</a>
<a class="arch__pill" href="#">Gift cards</a>
</div>
</div>
</div>
</div>
</section>
<style>
.arch {
padding: var(--space-l) var(--edge) var(--section-space);
}
.arch__shape {
position: relative;
overflow: hidden;
max-width: 580px;
margin-inline: auto;
padding: clamp(64px, 10vw, 96px) 0 var(--space-xl);
border: var(--line) solid var(--ink);
border-radius: 50% 50% var(--radius-blob) var(--radius-blob) / 300px 300px var(--radius-blob) var(--radius-blob);
background: var(--orange);
}
.arch__label {
width: max-content;
margin: 0 auto var(--space-l);
padding: 8px 34px;
border-radius: var(--pill);
background: var(--white);
font: 400 var(--text-s) var(--font-mono);
}
.arch__rows {
display: grid;
gap: var(--space-l);
}
.arch__row { overflow: hidden; }
.arch__track {
display: flex;
gap: 40px;
width: max-content;
padding-right: 40px;
animation: arch-roll 26s linear infinite;
}
.arch__row--back .arch__track {
animation-direction: reverse;
animation-duration: 32s;
}
.arch__rows:hover .arch__track,
.arch.is-paused .arch__track { animation-play-state: paused; }
.arch__pill {
flex: none;
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 55px;
padding: 0 34px;
border-radius: var(--pill);
background: var(--yellow);
color: var(--ink);
font-size: var(--text-m);
text-decoration: none;
white-space: nowrap;
transition: transform var(--pop) var(--ease), background-color var(--quick) ease;
}
.arch__pill:has(.arch__thumb) { padding-left: 10px; }
.arch__pill:hover,
.arch__pill:focus-visible {
transform: scale(1.08) rotate(-3deg);
background: var(--white);
outline: none;
}
.arch__thumb {
width: 36px;
height: 36px;
border: 2px solid var(--white);
border-radius: 50%;
object-fit: cover;
}
@keyframes arch-roll { to { transform: translateX(-50%); } }
@media (max-width: 40rem) {
.arch__shape { border-radius: 50% 50% var(--radius-card) var(--radius-card) / 180px 180px var(--radius-card) var(--radius-card); }
.arch__pill { min-height: 48px; font-size: var(--text-s); padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
.arch__track { animation: none; }
}
</style>
<script>
(() => {
const watch = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-paused', !entry.isIntersecting);
});
for (const root of document.querySelectorAll('.arch')) {
for (const track of root.querySelectorAll('.arch__track')) {
for (const item of [...track.children]) {
const copy = item.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
copy.setAttribute('tabindex', '-1');
track.append(copy);
}
}
watch.observe(root);
}
})();
</script>