Charcoal Tile Directory
A near-black curated index where every entry is a deeply rounded card with its picture inset in a second rounded frame, a favicon row and a heavy, tightly tracked title. Signal-orange pill buttons and a floating pill bar are the only colour outside the pictures; it suits showcases, galleries, directories and link collections.
Parts
Floating pill bar
A dark glassy pill floating at the top left with the mark, the name and two orange pill buttons; on phones the buttons fold into a round menu button that pops a small menu.
Code
React For Figma<header class="nav">
<div class="nav__bar">
<a class="nav__brand" href="#" aria-label="Oddment, home">
<svg class="nav__mark" viewBox="0 0 40 40" aria-hidden="true">
<path d="M12 6h18a6 6 0 0 1 6 6v16a6 6 0 0 1-6 6H12L4 25.5v-11Z" fill="var(--accent)"/>
<circle cx="13" cy="20" r="3.4" fill="var(--paper)"/>
<path d="M21 15h9M21 20h9M21 25h5" stroke="var(--paper)" stroke-width="2.6" stroke-linecap="round"/>
</svg>
<span class="nav__name">Oddment</span>
</a>
<div class="nav__actions">
<a class="nav__pill" href="#">Suggest</a>
<a class="nav__pill" href="#">Open a shelf</a>
</div>
<button class="nav__menu" type="button" aria-expanded="false" aria-controls="nav-pop" aria-label="Menu">
<span class="nav__bars" aria-hidden="true"></span>
</button>
</div>
<nav class="nav__pop" id="nav-pop" aria-label="Main">
<a class="nav__link" href="#">Featured</a>
<a class="nav__link" href="#">All objects</a>
<a class="nav__link" href="#">Suggest</a>
<a class="nav__pill nav__pill--wide" href="#">Open a shelf</a>
</nav>
</header>
<style>
.nav {
position: sticky;
top: var(--space-m);
z-index: 20;
width: min(100% - 2 * var(--edge), var(--page-width));
margin: var(--space-m) auto 0;
}
.nav__bar {
display: inline-flex;
align-items: center;
gap: var(--space-s);
padding: var(--space-s);
border: var(--rule) solid var(--line);
border-radius: var(--radius-round);
background: var(--glass);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: var(--shadow-float);
}
.nav__brand {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: var(--tap);
padding-right: var(--space-s);
color: var(--ink);
font-size: var(--text-s);
font-weight: 600;
text-decoration: none;
border-radius: var(--radius-round);
}
.nav__mark {
width: 40px;
height: 40px;
transition: transform var(--slow) var(--ease);
}
.nav__brand:hover .nav__mark { transform: rotate(-8deg); }
.nav__actions {
display: flex;
gap: var(--space-s);
}
.nav__pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: var(--tap);
padding: 0 20px;
border-radius: var(--radius-round);
background: var(--accent);
color: var(--on-accent);
font-size: var(--text-s);
font-weight: 600;
white-space: nowrap;
text-decoration: none;
transition: transform var(--quick) var(--ease-press), background-color var(--quick) var(--ease-press);
}
.nav__pill:hover { background: var(--accent-press); }
.nav__pill:active { transform: scale(0.96); }
.nav a:focus-visible,
.nav__menu:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 2px;
}
.nav__menu {
display: none;
place-items: center;
width: var(--tap);
height: var(--tap);
padding: 0;
border: 0;
border-radius: var(--radius-round);
background: var(--card-hi);
color: var(--ink);
cursor: pointer;
}
.nav__bars,
.nav__bars::before,
.nav__bars::after {
display: block;
width: 16px;
height: 2px;
border-radius: var(--radius-round);
background: currentColor;
transition: transform var(--time) var(--ease-std), opacity var(--time) var(--ease-std);
}
.nav__bars { position: relative; }
.nav__bars::before,
.nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -5px; }
.nav__bars::after { top: 5px; }
.nav.is-open .nav__bars { background: transparent; }
.nav.is-open .nav__bars::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__bars::after { transform: translateY(-5px) rotate(-45deg); }
.nav__pop {
display: none;
position: absolute;
top: calc(100% + var(--space-s));
left: 0;
width: min(280px, 100%);
padding: var(--space-s);
border: var(--rule) solid var(--line);
border-radius: var(--radius-pic);
background: var(--card);
box-shadow: var(--shadow-float);
transform-origin: 24px 0;
}
.nav.is-open .nav__pop {
display: grid;
gap: var(--space-xs);
animation: nav-pop var(--time) var(--ease) both;
}
.nav__link {
display: flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border-radius: var(--radius-field);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
text-decoration: none;
}
.nav__link:hover { background: var(--card-hi); }
.nav__pill--wide { margin-top: var(--space-xs); }
@keyframes nav-pop {
from { opacity: 0; transform: scale(0.92) translateY(-6px); }
}
@media (max-width: 40rem) {
.nav__actions { display: none; }
.nav__menu { display: grid; }
}
</style>
<script>
(() => {
for (const nav of document.querySelectorAll('.nav')) {
const button = nav.querySelector('.nav__menu');
const close = () => { nav.classList.remove('is-open'); button.setAttribute('aria-expanded', 'false'); };
button.addEventListener('click', () => {
const open = nav.classList.toggle('is-open');
button.setAttribute('aria-expanded', String(open));
});
nav.addEventListener('keydown', (event) => { if (event.key === 'Escape') { close(); button.focus(); } });
document.addEventListener('click', (event) => { if (!nav.contains(event.target)) close(); });
}
})();
</script>
Mark and standfirst
A large orange mark, a heavy tight title, a big grey standfirst and two orange pills, rising in one after another at load.
Code
React For Figma<section class="hero">
<div class="hero__inner">
<svg class="hero__mark hero__item" viewBox="0 0 40 40" role="img" aria-label="Oddment">
<path d="M12 6h18a6 6 0 0 1 6 6v16a6 6 0 0 1-6 6H12L4 25.5v-11Z" fill="var(--accent)"/>
<circle cx="13" cy="20" r="3.4" fill="var(--paper)"/>
<path d="M21 15h9M21 20h9M21 25h5" stroke="var(--paper)" stroke-width="2.6" stroke-linecap="round"/>
</svg>
<h1 class="hero__title hero__item">Oddment</h1>
<p class="hero__lede hero__item">Handpicked objects, odd furniture, glazed things and printed matter, tagged and shelved for collectors, makers and the merely curious.</p>
<div class="hero__actions hero__item">
<a class="hero__pill" href="#">Suggest</a>
<a class="hero__pill" href="#">Open a shelf</a>
</div>
<p class="hero__count hero__item"><span class="hero__dot" aria-hidden="true"></span>412 objects shelved, 9 added this week</p>
</div>
</section>
<style>
.hero {
padding: clamp(72px, 12vw, 140px) var(--edge) var(--section-space);
}
.hero__inner {
width: min(100%, var(--page-width));
margin: 0 auto;
}
.hero__mark {
width: clamp(72px, 10vw, 104px);
height: auto;
margin-bottom: var(--space-l);
}
.hero__title {
margin: 0 0 var(--space-m);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 700;
line-height: 1.02;
letter-spacing: var(--track-display);
}
.hero__lede {
max-width: 30em;
margin: 0 0 var(--space-l);
color: var(--ink);
font-size: clamp(18px, 2.2vw, var(--text-l));
line-height: 1.34;
}
.hero__actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-s);
}
.hero__pill {
display: inline-flex;
align-items: center;
min-height: 48px;
padding: 0 22px;
border-radius: var(--radius-round);
background: var(--accent);
color: var(--on-accent);
font-size: var(--text-m);
font-weight: 600;
text-decoration: none;
transition: transform var(--quick) var(--ease-press), background-color var(--quick) var(--ease-press);
}
.hero__pill:hover { background: var(--accent-press); }
.hero__pill:active { transform: scale(0.96); }
.hero__pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero__count {
display: flex;
align-items: center;
gap: var(--space-s);
margin: var(--space-xl) 0 0;
color: var(--ink-soft);
font-size: var(--text-s);
}
.hero__dot {
width: 8px;
height: 8px;
border-radius: var(--radius-round);
background: var(--accent);
animation: hero-blink 2.4s var(--ease-std) infinite;
}
.hero__item {
animation: hero-enter 700ms var(--ease) both;
animation-delay: calc(var(--order, 0) * 90ms + 120ms);
}
.hero__count.hero__item { animation-name: hero-enter; }
@keyframes hero-enter {
from { opacity: 0; transform: translateY(16px); }
}
@keyframes hero-blink {
50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
.hero__item, .hero__dot { animation: none; }
}
</style>
<script>
(() => {
for (const hero of document.querySelectorAll('.hero')) {
hero.querySelectorAll('.hero__item').forEach((item, order) => item.style.setProperty('--order', order));
}
})();
</script>
Featured tile rail
A scroll-snapping rail of white tiles with round prev and next buttons and stretching pill dots.
Code
React For Figma<section class="featured" aria-labelledby="featured-title">
<h2 class="featured__heading" id="featured-title">Featured objects</h2>
<ul class="featured__track">
<li class="featured__tile">
<a class="featured__link" href="#">
<span class="featured__pic"><img src="assets/textile.jpg" alt="Woven silk fragment, gold leaves on crimson" width="800" height="492" loading="lazy"></span>
<span class="featured__meta">
<span class="featured__fav featured__fav--a" aria-hidden="true">W</span>
<span class="featured__domain">warpandweft.shop</span>
<span class="featured__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="featured__title">Warp & Weft — Woven Remnants by the Yard</span>
<span class="featured__blurb">Crimson and gold offcuts from old looms, sold flat, measured, and wrapped in brown paper.</span>
</a>
</li>
<li class="featured__tile">
<a class="featured__link" href="#">
<span class="featured__pic"><img src="assets/poster-artisan.jpg" alt="Colour lithograph poster with figures in a workshop" width="563" height="800" loading="lazy"></span>
<span class="featured__meta">
<span class="featured__fav featured__fav--b" aria-hidden="true">P</span>
<span class="featured__domain">pressroom.club</span>
<span class="featured__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="featured__title">Pressroom — Stone Prints & Shop Posters</span>
<span class="featured__blurb">Big lithographs from shops that sold chairs, lamps and everything between. Framed or rolled.</span>
</a>
</li>
<li class="featured__tile">
<a class="featured__link" href="#">
<span class="featured__pic"><img src="assets/lamp.jpg" alt="Enamelled glass lamp with a flared neck" width="554" height="800" loading="lazy"></span>
<span class="featured__meta">
<span class="featured__fav featured__fav--c" aria-hidden="true">G</span>
<span class="featured__domain">glowhouse.co</span>
<span class="featured__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="featured__title">Glowhouse — Lamps That Were Never Plugged In</span>
<span class="featured__blurb">Enamelled glass, oil wicks and hanging chains. A catalogue of light before the switch.</span>
</a>
</li>
<li class="featured__tile">
<a class="featured__link" href="#">
<span class="featured__pic"><img src="assets/vase.jpg" alt="Matte green glazed vase with leaf pattern" width="600" height="800" loading="lazy"></span>
<span class="featured__meta">
<span class="featured__fav featured__fav--d" aria-hidden="true">M</span>
<span class="featured__domain">mossglaze.studio</span>
<span class="featured__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="featured__title">Mossglaze — Matte Green, Nothing Else</span>
<span class="featured__blurb">One kiln, one glaze, one colour. Vases, cups and tiles in the green of wet stone.</span>
</a>
</li>
<li class="featured__tile">
<a class="featured__link" href="#">
<span class="featured__pic"><img src="assets/poster-revue.jpg" alt="Lithograph poster of a woman in a spotted coat" width="573" height="800" loading="lazy"></span>
<span class="featured__meta">
<span class="featured__fav featured__fav--a" aria-hidden="true">F</span>
<span class="featured__domain">fortnightly.press</span>
<span class="featured__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="featured__title">Fortnightly — Magazine Covers, Twice a Month</span>
<span class="featured__blurb">Every cover from a little review that ran for ten years, scanned flat and sorted by season.</span>
</a>
</li>
</ul>
<div class="featured__controls">
<button class="featured__arrow featured__arrow--prev" type="button" aria-label="Previous"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M10 3.5L5.5 8l4.5 4.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
<div class="featured__dots" aria-hidden="true"></div>
<button class="featured__arrow featured__arrow--next" type="button" aria-label="Next"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M6 3.5L10.5 8 6 12.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
</div>
</section>
<style>
.featured {
--lead: max(var(--edge), (100% - var(--page-width)) / 2);
padding: var(--space-xl) 0 var(--section-space);
overflow: hidden;
}
.featured__heading {
margin: 0 var(--lead) var(--space-l);
font-size: var(--display-m);
font-weight: 700;
line-height: 1.1;
letter-spacing: var(--track-display);
}
.featured__track {
display: flex;
gap: var(--gap);
margin: 0;
padding: 0 var(--lead);
list-style: none;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-padding-inline: var(--lead);
scroll-behavior: smooth;
scrollbar-width: none;
}
.featured__track::-webkit-scrollbar { display: none; }
.featured__tile {
flex: 0 0 min(340px, 82vw);
scroll-snap-align: start;
}
.featured__link {
display: flex;
flex-direction: column;
height: 100%;
padding: var(--space-s) var(--space-s) var(--space-l);
border-radius: var(--radius-card);
background: var(--tile);
color: var(--tile-ink);
text-decoration: none;
}
.featured__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.featured__pic {
display: block;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: var(--radius-pic);
background: var(--tile-well);
}
.featured__pic img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--slow) var(--ease);
}
.featured__link:hover .featured__pic img { transform: scale(1.04); }
.featured__meta {
display: flex;
align-items: center;
gap: var(--space-m);
margin: var(--space-m) 20px var(--space-m);
}
.featured__fav {
display: grid;
place-items: center;
flex: none;
width: 28px;
height: 28px;
border-radius: var(--radius-round);
color: var(--on-accent);
font-size: var(--text-xs);
font-weight: 800;
}
.featured__fav--a { background: var(--tile-ink); }
.featured__fav--b { background: var(--accent); }
.featured__fav--c { background: var(--tile-soft); }
.featured__fav--d { background: var(--ink-faint); }
.featured__domain {
flex: 1;
min-width: 0;
overflow: hidden;
color: var(--tile-soft);
font-size: var(--text-s);
text-overflow: ellipsis;
white-space: nowrap;
}
.featured__go {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: var(--radius-round);
background: var(--tile-well);
}
.featured__go svg { width: 12px; height: 12px; transition: transform var(--time) var(--ease); }
.featured__link:hover .featured__go svg { transform: translate(2px, -2px); }
.featured__title {
margin: 0 20px var(--space-s);
font-size: clamp(24px, 2.6vw, var(--display-m));
font-weight: 700;
line-height: 1.08;
letter-spacing: var(--track-display);
text-wrap: balance;
}
.featured__blurb {
margin: 0 20px;
color: var(--tile-soft);
font-size: var(--text-s);
line-height: 1.38;
}
.featured__controls {
display: flex;
align-items: center;
justify-content: space-between;
margin: var(--space-l) var(--lead) 0;
}
.featured__arrow {
display: grid;
place-items: center;
width: 48px;
height: 48px;
padding: 0;
border: 0;
border-radius: var(--radius-round);
background: var(--card);
color: var(--ink);
cursor: pointer;
transition: background-color var(--quick) var(--ease-press), color var(--quick) var(--ease-press), transform var(--quick) var(--ease-press);
}
.featured__arrow svg { width: 16px; height: 16px; }
.featured__arrow:hover { background: var(--card-hi); }
.featured__arrow:active { transform: scale(0.94); }
.featured__arrow:disabled { color: var(--ink-faint); cursor: default; }
.featured__arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.featured__dots {
display: flex;
align-items: center;
gap: 6px;
}
.featured__dot {
width: 6px;
height: 6px;
border-radius: var(--radius-round);
background: var(--ink-faint);
transition: width var(--time) var(--ease-std), background-color var(--time) var(--ease-std);
}
.featured__dot.is-active { width: 20px; background: var(--ink); }
.featured__dot:last-child:not(.is-active) { width: 4px; height: 4px; }
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.featured')) {
const track = root.querySelector('.featured__track');
const tiles = [...track.querySelectorAll('.featured__tile')];
const dots = root.querySelector('.featured__dots');
const prev = root.querySelector('.featured__arrow--prev');
const next = root.querySelector('.featured__arrow--next');
tiles.forEach(() => { const dot = document.createElement('span'); dot.className = 'featured__dot'; dots.append(dot); });
const step = () => tiles[1].offsetLeft - tiles[0].offsetLeft;
const update = () => {
const max = track.scrollWidth - track.clientWidth;
const index = track.scrollLeft >= max - 4 ? tiles.length - 1 : Math.round(track.scrollLeft / step());
[...dots.children].forEach((dot, i) => dot.classList.toggle('is-active', i === index));
prev.disabled = track.scrollLeft <= 4;
next.disabled = track.scrollLeft >= max - 4;
};
prev.addEventListener('click', () => track.scrollBy({ left: -step() }));
next.addEventListener('click', () => track.scrollBy({ left: step() }));
track.addEventListener('scroll', () => requestAnimationFrame(update), { passive: true });
new ResizeObserver(update).observe(track);
update();
}
})();
</script>
Two-up entry cards
The signature: big dark cards with an inset rounded picture, favicon row, arrow button and heavy title; pictures zoom on hover.
Code
React For Figma<section class="grid" aria-labelledby="grid-title">
<h2 class="grid__heading" id="grid-title">Shelved this month</h2>
<ul class="grid__list">
<li class="grid__card grid__item">
<a class="grid__link" href="#">
<span class="grid__pic"><img src="assets/armchair.jpg" alt="Carved armchair with red damask upholstery" width="800" height="617" loading="lazy"></span>
<span class="grid__meta">
<span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M4 15V8a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v7M4 11h12" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></span>
<span class="grid__domain">slowseat.co</span>
<span class="grid__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="grid__title">Slowseat — Carved Chairs for Sitting Badly</span>
<span class="grid__blurb">Lions on the legs, damask on the cushion and an arm too low to rest on. Restored, photographed and listed with every flaw.</span>
</a>
</li>
<li class="grid__card grid__item">
<a class="grid__link" href="#">
<span class="grid__pic"><img src="assets/card-table.jpg" alt="Mahogany card table on a winged gilt pedestal" width="800" height="666" loading="lazy"></span>
<span class="grid__meta">
<span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M3 7h14M6 7v9M14 7v9M8 4h4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></span>
<span class="grid__domain">foldtop.house</span>
<span class="grid__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="grid__title">Foldtop — Tables That Open Into Bigger Tables</span>
<span class="grid__blurb">Card tables, drop leaves and gate legs, each with a short film of the fold. Measurements open and closed.</span>
</a>
</li>
<li class="grid__card grid__item">
<a class="grid__link" href="#">
<span class="grid__pic"><img src="assets/teapot.jpg" alt="Porcelain teapot shaped as a man in a green coat" width="800" height="640" loading="lazy"></span>
<span class="grid__meta">
<span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 9h9v3a4 4 0 0 1-4 4H9a4 4 0 0 1-4-4ZM14 10h2v2h-2M8 6h3" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
<span class="grid__domain">oddpots.club</span>
<span class="grid__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="grid__title">Odd Pots — Teapots With Opinions</span>
<span class="grid__blurb">Porcelain gentlemen, cabbages and cottages that pour. A club for people who own more than one.</span>
</a>
</li>
<li class="grid__card grid__item">
<a class="grid__link" href="#">
<span class="grid__pic"><img src="assets/lamp.jpg" alt="Enamelled glass lamp with a flared neck" width="554" height="800" loading="lazy"></span>
<span class="grid__meta">
<span class="grid__fav" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M7 4h6l2 7H5ZM10 11v5M7 16h6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
<span class="grid__domain">wickandglass.org</span>
<span class="grid__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
</span>
<span class="grid__title">Wick & Glass — An Archive of Hanging Light</span>
<span class="grid__blurb">Enamelled glass lamps, catalogued by neck shape and painted band. Thirty years of auction notes, searchable.</span>
</a>
</li>
</ul>
</section>
<style>
.grid {
width: min(100% - 2 * var(--edge), var(--page-width));
margin: 0 auto;
padding: var(--space-xl) 0 var(--section-space);
}
.grid__heading {
margin: 0 0 var(--space-xl);
font-size: var(--display-l);
font-weight: 700;
line-height: 1.02;
letter-spacing: var(--track-display-l);
}
.grid__list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.grid__link {
display: flex;
flex-direction: column;
height: 100%;
padding: var(--space-s) var(--space-s) var(--space-l);
border-radius: var(--radius-card);
background: var(--card);
color: var(--ink);
text-decoration: none;
transition: background-color var(--time) var(--ease-std);
}
.grid__link:hover { background: var(--card-hi); }
.grid__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.grid__pic {
display: block;
aspect-ratio: 464 / 242;
overflow: hidden;
border-radius: var(--radius-pic);
background: var(--tile-well);
}
.grid__pic img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--slow) var(--ease);
}
.grid__link:hover .grid__pic img { transform: scale(1.04); }
.grid__meta {
display: flex;
align-items: center;
gap: var(--space-m);
margin: var(--space-l) 20px var(--space-l);
}
.grid__fav,
.grid__go {
display: grid;
place-items: center;
flex: none;
width: 40px;
height: 40px;
border-radius: var(--radius-round);
background: var(--well);
color: var(--ink);
}
.grid__fav svg { width: 18px; height: 18px; color: var(--accent); }
.grid__go svg { width: 12px; height: 12px; transition: transform var(--time) var(--ease); }
.grid__link:hover .grid__go svg { transform: translate(2px, -2px); }
.grid__domain {
flex: 1;
min-width: 0;
overflow: hidden;
color: var(--ink-soft);
font-size: var(--text-s);
text-overflow: ellipsis;
white-space: nowrap;
}
.grid__title {
margin: 0 20px var(--space-s);
font-size: clamp(24px, 3vw, var(--display-m));
font-weight: 700;
line-height: 1.1;
letter-spacing: var(--track-display);
text-wrap: balance;
}
.grid__blurb {
margin: 0 20px;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: 1.38;
}
.grid__item {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 80ms);
}
.grid.is-seen .grid__item { opacity: 1; translate: 0 0; }
@media (max-width: 44rem) {
.grid__list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
.grid__item { opacity: 1; translate: none; transition: none; }
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.05 });
for (const root of document.querySelectorAll('.grid')) {
root.querySelectorAll('.grid__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>
Three-up long tail
Smaller dark cards three to a row with a show-more pill that pulses skeleton cards before the next row appears.
Code
React For Figma<section class="more" aria-labelledby="more-title">
<h2 class="more__heading" id="more-title">More from the shelves</h2>
<ul class="more__list">
<li class="more__card">
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/vase.jpg" alt="Matte green glazed vase" width="600" height="800" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">K</span><span class="more__domain">kilnnotes.net</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Kiln Notes — Glaze Recipes From Shut Potteries</span>
<span class="more__blurb">Handwritten recipe books, transcribed and fired again to check.</span>
</a>
</li>
<li class="more__card">
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/textile.jpg" alt="Silk fragment with gold leaf pattern" width="800" height="492" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">R</span><span class="more__domain">repeatpattern.io</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Repeat — Find the Tile in Any Pattern</span>
<span class="more__blurb">Upload a scrap of cloth, get back its repeat, its loom width and its likely century.</span>
</a>
</li>
<li class="more__card">
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/poster-revue.jpg" alt="Lithograph poster of a woman in a spotted coat" width="573" height="800" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">S</span><span class="more__domain">stonetype.gallery</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Stonetype — Lettering From Old Posters</span>
<span class="more__blurb">Hand-drawn poster letters, traced and sorted by mood and decade.</span>
</a>
</li>
<li class="more__card more__extra" hidden>
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/armchair.jpg" alt="Carved armchair with red upholstery" width="800" height="617" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">U</span><span class="more__domain">upholster.guide</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Upholster — Stuffing, Springs and Damask</span>
<span class="more__blurb">A field guide to what is under the cushion, with cut-away drawings.</span>
</a>
</li>
<li class="more__card more__extra" hidden>
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/card-table.jpg" alt="Mahogany card table" width="800" height="666" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">V</span><span class="more__domain">veneer.fyi</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Veneer — Name That Wood</span>
<span class="more__blurb">Two hundred grains, photographed raking and flat, side by side.</span>
</a>
</li>
<li class="more__card more__extra" hidden>
<a class="more__link" href="#">
<span class="more__pic"><img src="assets/teapot.jpg" alt="Figural porcelain teapot" width="800" height="640" loading="lazy"></span>
<span class="more__meta"><span class="more__fav" aria-hidden="true">P</span><span class="more__domain">pourtest.app</span><span class="more__go" aria-hidden="true"><svg viewBox="0 0 12 12"><path d="M3.5 8.5l5-5M4.5 3.5h4v4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></span>
<span class="more__title">Pour Test — Does the Spout Drip?</span>
<span class="more__blurb">Slow-motion pours from every pot in the collection, graded A to F.</span>
</a>
</li>
</ul>
<div class="more__foot">
<button class="more__button" type="button">Show more</button>
</div>
</section>
<style>
.more {
width: min(100% - 2 * var(--edge), var(--page-width));
margin: 0 auto;
padding: var(--space-xl) 0 var(--section-space);
}
.more__heading {
margin: 0 0 var(--space-l);
font-size: var(--display-m);
font-weight: 700;
line-height: 1.1;
letter-spacing: var(--track-display);
}
.more__list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.more__card[hidden] { display: none; }
.more__card.is-entering { animation: more-enter var(--slow) var(--ease) both; animation-delay: calc(var(--order, 0) * 80ms); }
.more__link {
display: flex;
flex-direction: column;
height: 100%;
padding: var(--space-s) var(--space-s) 20px;
border-radius: var(--radius-pic);
background: var(--card);
color: var(--ink);
text-decoration: none;
transition: background-color var(--time) var(--ease-std);
}
.more__link:hover { background: var(--card-hi); }
.more__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.more__pic {
display: block;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: var(--radius-field);
background: var(--tile-well);
}
.more__pic img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--slow) var(--ease);
}
.more__link:hover .more__pic img { transform: scale(1.04); }
.more__meta {
display: flex;
align-items: center;
gap: var(--space-s);
margin: var(--space-m) 12px 12px;
}
.more__fav,
.more__go {
display: grid;
place-items: center;
flex: none;
width: 28px;
height: 28px;
border-radius: var(--radius-round);
background: var(--well);
font-size: var(--text-xs);
font-weight: 800;
}
.more__fav { color: var(--accent); }
.more__go svg { width: 10px; height: 10px; transition: transform var(--time) var(--ease); }
.more__link:hover .more__go svg { transform: translate(2px, -2px); }
.more__domain {
flex: 1;
min-width: 0;
overflow: hidden;
color: var(--ink-soft);
font-size: var(--text-xs);
text-overflow: ellipsis;
white-space: nowrap;
}
.more__title {
margin: 0 12px 6px;
font-size: var(--text-m);
font-weight: 600;
line-height: 1.3;
letter-spacing: -0.01em;
}
.more__blurb {
margin: 0 12px;
color: var(--ink-soft);
font-size: var(--text-xs);
line-height: 1.4;
}
.more__skeleton {
display: grid;
gap: 12px;
padding: var(--space-s) var(--space-s) 20px;
border-radius: var(--radius-pic);
background: var(--card);
}
.more__skeleton span {
display: block;
border-radius: var(--radius-field);
background: var(--skeleton);
animation: more-pulse 1.2s var(--ease-std) infinite;
}
.more__skeleton span:first-child { aspect-ratio: 16 / 10; }
.more__skeleton span:nth-child(2) { height: 14px; margin: 4px 12px 0; width: 70%; }
.more__skeleton span:nth-child(3) { height: 10px; margin: 0 12px; width: 50%; }
.more__foot {
display: flex;
justify-content: center;
margin-top: var(--space-l);
}
.more__button {
min-height: 48px;
padding: 0 26px;
border: 0;
border-radius: var(--radius-round);
background: var(--card);
color: var(--ink);
font: 600 var(--text-s) / 1 var(--font-body);
cursor: pointer;
transition: background-color var(--quick) var(--ease-press), transform var(--quick) var(--ease-press);
}
.more__button:hover { background: var(--card-hi); }
.more__button:active { transform: scale(0.96); }
.more__button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.more__button:disabled { color: var(--ink-faint); cursor: default; }
@keyframes more-pulse { 50% { opacity: 0.45; } }
@keyframes more-enter { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 52rem) {
.more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
.more__list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
.more__skeleton span, .more__card.is-entering { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.more')) {
const list = root.querySelector('.more__list');
const button = root.querySelector('.more__button');
button.addEventListener('click', () => {
const extras = [...root.querySelectorAll('.more__extra[hidden]')];
if (!extras.length) return;
button.disabled = true;
const ghosts = extras.map(() => {
const ghost = document.createElement('li');
ghost.className = 'more__skeleton';
ghost.setAttribute('aria-hidden', 'true');
ghost.innerHTML = '<span></span><span></span><span></span>';
list.append(ghost);
return ghost;
});
const wait = matchMedia('(prefers-reduced-motion: reduce)').matches ? 0 : 900;
setTimeout(() => {
ghosts.forEach((ghost) => ghost.remove());
extras.forEach((card, order) => {
card.hidden = false;
card.style.setProperty('--order', order);
card.classList.add('is-entering');
});
button.textContent = 'That is everything';
}, wait);
});
}
})();
</script>
Suggest form card
A dark card holding sunk rounded fields, an orange send pill and a reply-time note; sending swaps the pill to a done state.
Code
React For Figma<section class="submit" aria-labelledby="submit-title">
<form class="submit__card" action="#" novalidate>
<div class="submit__head">
<h2 class="submit__heading" id="submit-title">Suggest an object</h2>
<p class="submit__lede">Seen something odd and good? Send it in. We shelve about one in ten.</p>
</div>
<div class="submit__fields">
<label class="submit__field">
<span class="submit__label">Email <span class="submit__req">*</span></span>
<input class="submit__input" type="email" name="email" placeholder="you@example.com" autocomplete="email" required>
</label>
<label class="submit__field">
<span class="submit__label">Link <span class="submit__req">*</span></span>
<input class="submit__input" type="url" name="link" placeholder="https://" required>
</label>
<label class="submit__field submit__field--wide">
<span class="submit__label">Why it belongs here</span>
<textarea class="submit__input submit__input--area" name="note" rows="4" placeholder="A sentence or two is plenty."></textarea>
</label>
</div>
<div class="submit__foot">
<p class="submit__note">Usually answered within a day.</p>
<button class="submit__send" type="submit"><span class="submit__send-label">Send suggestion</span><span class="submit__send-done">Sent, thank you</span></button>
</div>
</form>
</section>
<style>
.submit {
width: min(100% - 2 * var(--edge), var(--page-width));
margin: 0 auto;
padding: var(--space-xl) 0 var(--section-space);
}
.submit__card {
display: grid;
gap: var(--space-l);
padding: clamp(20px, 4vw, 40px);
border-radius: var(--radius-card);
background: var(--card);
}
.submit__heading {
margin: 0 0 var(--space-s);
font-size: var(--display-m);
font-weight: 700;
line-height: 1.1;
letter-spacing: var(--track-display);
}
.submit__lede {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.5;
}
.submit__fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap);
}
.submit__field { display: grid; gap: var(--space-s); }
.submit__field--wide { grid-column: 1 / -1; }
.submit__label {
color: var(--ink);
font-size: var(--text-s);
font-weight: 500;
}
.submit__req { color: var(--accent); }
.submit__input {
width: 100%;
min-height: 52px;
padding: 14px 18px;
border: var(--rule) solid var(--line);
border-radius: var(--radius-field);
background: var(--well);
color: var(--ink);
font: 400 var(--text-m) / 1.4 var(--font-body);
transition: border-color var(--time) var(--ease-std), background-color var(--time) var(--ease-std);
}
.submit__input::placeholder { color: var(--ink-faint); }
.submit__input:hover { border-color: var(--line-strong); }
.submit__input:focus { outline: none; border-color: var(--accent); }
.submit__input--area { resize: vertical; min-height: 120px; }
.submit__card.is-checked .submit__input:invalid { border-color: var(--accent-press); }
.submit__foot {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
}
.submit__note {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-s);
}
.submit__send {
display: inline-grid;
min-height: 48px;
padding: 0 26px;
border: 0;
border-radius: var(--radius-round);
background: var(--accent);
color: var(--on-accent);
font: 600 var(--text-m) / 48px var(--font-body);
cursor: pointer;
transition: transform var(--quick) var(--ease-press), background-color var(--quick) var(--ease-press);
}
.submit__send > span { grid-area: 1 / 1; transition: opacity var(--time) var(--ease-std), transform var(--time) var(--ease); }
.submit__send-done { opacity: 0; transform: translateY(10px); }
.submit__send:hover { background: var(--accent-press); }
.submit__send:active { transform: scale(0.96); }
.submit__send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.submit__card.is-sent .submit__send { background: var(--card-hi); }
.submit__card.is-sent .submit__send-label { opacity: 0; transform: translateY(-10px); }
.submit__card.is-sent .submit__send-done { opacity: 1; transform: none; }
@media (max-width: 40rem) {
.submit__fields { grid-template-columns: minmax(0, 1fr); }
.submit__send { width: 100%; }
}
</style>
<script>
(() => {
for (const form of document.querySelectorAll('.submit__card')) {
form.addEventListener('submit', (event) => {
event.preventDefault();
form.classList.add('is-checked');
if (!form.checkValidity()) {
form.querySelector('.submit__input:invalid').focus();
return;
}
form.classList.add('is-sent');
setTimeout(() => { form.classList.remove('is-sent', 'is-checked'); form.reset(); }, 3200);
});
}
})();
</script>
Footer with tag band
An endless band of grey tag pills above the mark, a short line and link columns.
Code
React For Figma<footer class="footer">
<div class="footer__band" aria-label="Shelves">
<div class="footer__track">
<a class="footer__tag" href="#">Chairs</a>
<a class="footer__tag" href="#">Lamps</a>
<a class="footer__tag" href="#">Teapots</a>
<a class="footer__tag" href="#">Posters</a>
<a class="footer__tag" href="#">Glaze</a>
<a class="footer__tag" href="#">Textiles</a>
<a class="footer__tag" href="#">Tables</a>
<a class="footer__tag" href="#">Glass</a>
<a class="footer__tag" href="#">Lettering</a>
<a class="footer__tag" href="#">Tools</a>
</div>
</div>
<div class="footer__inner">
<div class="footer__brand">
<svg class="footer__mark" viewBox="0 0 40 40" aria-hidden="true">
<path d="M12 6h18a6 6 0 0 1 6 6v16a6 6 0 0 1-6 6H12L4 25.5v-11Z" fill="var(--accent)"/>
<circle cx="13" cy="20" r="3.4" fill="var(--paper)"/>
<path d="M21 15h9M21 20h9M21 25h5" stroke="var(--paper)" stroke-width="2.6" stroke-linecap="round"/>
</svg>
<p class="footer__name">Oddment</p>
<p class="footer__line">Handpicked objects, odd furniture, glazed things and printed matter, shelved weekly.</p>
</div>
<nav class="footer__cols" aria-label="Footer">
<div class="footer__col">
<p class="footer__title">Browse</p>
<a class="footer__link" href="#">Featured</a>
<a class="footer__link" href="#">All objects</a>
<a class="footer__link" href="#">Shelves</a>
</div>
<div class="footer__col">
<p class="footer__title">Take part</p>
<a class="footer__link" href="#">Suggest</a>
<a class="footer__link" href="#">Open a shelf</a>
<a class="footer__link" href="#">Newsletter</a>
</div>
</nav>
</div>
<p class="footer__fine">© 2027 Oddment. Pictures belong to the shelves they came from.</p>
</footer>
<style>
.footer {
padding: var(--space-xl) 0 var(--space-l);
background: var(--paper);
}
.footer__band {
overflow: hidden;
margin-bottom: var(--section-space);
mask-image: linear-gradient(90deg, transparent, var(--paper) 10%, var(--paper) 90%, transparent);
-webkit-mask-image: linear-gradient(90deg, transparent, var(--paper) 10%, var(--paper) 90%, transparent);
}
.footer__track {
display: flex;
gap: var(--space-s);
width: max-content;
padding-right: var(--space-s);
animation: footer-roll 36s linear infinite;
}
.footer__band:hover .footer__track,
.footer__band:focus-within .footer__track { animation-play-state: paused; }
.footer__tag {
display: inline-flex;
align-items: center;
flex: none;
min-height: var(--tap);
padding: 0 22px;
border-radius: var(--radius-round);
background: var(--card);
color: var(--ink-soft);
font-size: var(--text-s);
font-weight: 500;
white-space: nowrap;
text-decoration: none;
transition: background-color var(--quick) var(--ease-press), color var(--quick) var(--ease-press);
}
.footer__tag:hover { background: var(--accent); color: var(--on-accent); }
.footer__tag:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.footer__inner {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-xl);
width: min(100% - 2 * var(--edge), var(--page-width));
margin: 0 auto;
}
.footer__brand { max-width: 360px; }
.footer__mark { width: 48px; height: 48px; margin-bottom: var(--space-m); }
.footer__name {
margin: 0 0 var(--space-s);
font-size: var(--display-m);
font-weight: 700;
line-height: 1.1;
letter-spacing: var(--track-display);
}
.footer__line {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: 1.5;
}
.footer__cols {
display: flex;
gap: clamp(32px, 8vw, 96px);
}
.footer__col { display: grid; align-content: start; }
.footer__title {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-s);
font-weight: 600;
}
.footer__link {
display: flex;
align-items: center;
min-height: var(--tap);
color: var(--ink-soft);
font-size: var(--text-s);
text-decoration: none;
transition: color var(--quick) var(--ease-press);
}
.footer__link:hover { color: var(--ink); }
.footer__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.footer__fine {
width: min(100% - 2 * var(--edge), var(--page-width));
margin: var(--section-space) auto 0;
color: var(--ink-faint);
font-size: var(--text-xs);
}
@keyframes footer-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .footer__track { animation: none; } }
</style>
<script>
(() => {
for (const track of document.querySelectorAll('.footer__track')) {
for (const item of [...track.children]) {
const copy = item.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
copy.tabIndex = -1;
track.append(copy);
}
}
})();
</script>
Style
- --paper #171717
- --card #212121
- --card-hi #2b2b2b
- --well #171717
- --ink #ffffff
- --ink-soft #919191
- --ink-faint #4a4a4a
- --tile #ffffff
- --tile-ink #171717
- --tile-soft #4a4a4a
- --tile-well #f1f1f1
- --accent #ff5a1f
- --accent-press #e8470f
- --on-accent #ffffff
- --line rgba(255, 255, 255, 0.08)
- --line-strong rgba(255, 255, 255, 0.22)
- --glass rgba(23, 23, 23, 0.82)
- --skeleton #2f2f2f
Type
- Inter for headlines, stands in for Inter, the site's only face, at 700 with about -0.045em tracking
- Inter for body, stands in for Inter at 400 and 500 for blurbs, domains and buttons
Motion
- Card pictures zoom to 1.04 on hover over 500 ms with an expo-out curve (0.22, 1, 0.36, 1).
- The carousel glides one tile per arrow press; the active dot stretches from a 6 px dot to a 20 px pill over 300 ms.
- Pill buttons press down to 0.96 over 200 ms; arrow buttons nudge their arrow up and right on hover.
- Sections rise 16 px and fade in on view, each card a beat after the last; the hero plays the same entrance at load.
- Loading cards pulse as grey skeletons before the next row appears; the footer tag band loops endlessly.
Rules
- One charcoal ground (#171717) with cards one step lighter (#212121); white tiles appear only in the featured rail.
- Cards have 32 px corners and hold their picture 8 px in from the edge with 24 px corners, a frame inside a frame.
- Every entry reads the same way: picture, favicon well with grey domain and round arrow button, heavy title, grey blurb.
- Headlines are Inter 700 with tight negative tracking; everything else is 14 px grey text.
- Orange is kept to pill buttons and the mark; no rules divide anything, only card edges and space.
- A centred 976 px column with two-up cards for the main grid and three-up for the long tail.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
/* Colour */
--paper: #171717; /* page background, near-black charcoal */
--card: #212121; /* dark card and band surface, one step up */
--card-hi: #2b2b2b; /* hovered dark card, round icon buttons */
--well: #171717; /* fields and favicon wells sunk into a card */
--ink: #ffffff; /* main text and headlines */
--ink-soft: #919191; /* blurbs, domains, secondary text */
--ink-faint: #4a4a4a; /* idle dots, disabled arrows, fine print */
--tile: #ffffff; /* light featured tile */
--tile-ink: #171717; /* text on a light tile */
--tile-soft: #4a4a4a; /* blurb on a light tile */
--tile-well: #f1f1f1; /* favicon well on a light tile */
--accent: #ff5a1f; /* signal orange: pill buttons, the mark */
--accent-press: #e8470f; /* orange pressed and hovered */
--on-accent: #ffffff; /* text on orange */
--line: rgba(255, 255, 255, 0.08); /* hairline around the floating bar and fields */
--line-strong: rgba(255, 255, 255, 0.22); /* focused field outline */
--glass: rgba(23, 23, 23, 0.82); /* floating bar fill over content */
--skeleton: #2f2f2f; /* loading placeholder blocks */
/* Type */
--font-display: "Inter", system-ui, sans-serif; /* headlines, bold and tightly tracked */
--font-body: "Inter", system-ui, sans-serif; /* running text and UI */
--text-xs: 12px; /* tags, fine print */
--text-s: 14px; /* blurbs, buttons, domains */
--text-m: 16px; /* small card titles */
--text-l: 24px; /* hero standfirst */
--display-m: 32px; /* card titles and section headings */
--display-l: clamp(40px, 7vw, 64px); /* hero title and big section heading */
--track-display: -0.045em; /* tight tracking on bold display lines */
--track-display-l: -0.055em; /* tighter tracking on the biggest lines */
/* Space */
--space-xs: 4px; /* icon to label */
--space-s: 8px; /* card inset around a picture, pill gaps */
--space-m: 16px; /* gaps inside a card */
--space-l: 28px; /* card padding */
--space-xl: 48px; /* heading to content */
--gap: 16px; /* gutter between cards */
--edge: 20px; /* page side margin on small screens */
--page-width: 976px; /* centred content column */
--section-space: 112px; /* between sections */
/* Shape */
--radius-card: 32px; /* dark and light cards */
--radius-pic: 24px; /* picture inside a card, 8 px inset */
--radius-field: 20px; /* form fields */
--radius-round: 9999px; /* pills, round buttons, dots */
--rule: 1px; /* hairline weight */
--tap: 44px; /* round icon buttons, minimum tap size */
--shadow-float: 0 12px 32px rgba(0, 0, 0, 0.45); /* floating bar and pop menu */
/* Motion */
--ease: cubic-bezier(0.22, 1, 0.36, 1); /* expo out: picture zoom, carousel, reveals */
--ease-std: cubic-bezier(0, 0, 0.2, 1); /* dots and fields */
--ease-press: ease; /* pill press */
--slow: 500ms; /* picture zoom and reveals */
--time: 300ms; /* dots, menus, fields */
--quick: 200ms; /* hover and press */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.4 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
For your agent
Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("charcoal-tile-directory"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect