Tall Caps Showroom
A black and white furniture-house storefront: tall condensed serif capitals over full-bleed photographs, objects on pale grey tiles, small tracked sans labels in a black bar. Suits interiors shops, galleries, antique dealers and any catalogue that sells objects by their pictures.
Parts
Black bar
A thin utility row and a black bar with a serif wordmark, centred tracked capitals and three icons; a full menu panel on phones.
Code
React For Figma<header class="nav">
<div class="nav__utility">
<a class="nav__utility-link" href="#">Showroom</a>
<a class="nav__utility-link" href="#">Saleroom</a>
<a class="nav__utility-link" href="#">Archive</a>
</div>
<div class="nav__bar">
<button class="nav__toggle" type="button" aria-expanded="false" aria-controls="nav-menu" aria-label="Open menu">
<span class="nav__toggle-line"></span><span class="nav__toggle-line"></span><span class="nav__toggle-line"></span>
</button>
<a class="nav__wordmark" href="#" aria-label="Varrow House, home">Varrow<span class="nav__wordmark-sub">House</span></a>
<nav class="nav__primary" aria-label="Main">
<ul class="nav__list">
<li><a class="nav__link" href="#">New</a></li>
<li><a class="nav__link" href="#">Seating</a></li>
<li><a class="nav__link" href="#">Rugs</a></li>
<li><a class="nav__link" href="#">Lighting</a></li>
<li><a class="nav__link" href="#">Objects</a></li>
<li><a class="nav__link" href="#">Rooms</a></li>
<li><a class="nav__link" href="#">Journal</a></li>
</ul>
</nav>
<div class="nav__tools">
<a class="nav__icon nav__icon--account" href="#" aria-label="Account">
<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"/></svg>
</a>
<a class="nav__icon" href="#" aria-label="Search">
<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M15.5 15.5 21 21"/></svg>
</a>
<a class="nav__icon" href="#" aria-label="Bag">
<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><path d="M5 8h14l-1 13H6z"/><path d="M9 8V6a3 3 0 0 1 6 0v2"/></svg>
</a>
</div>
</div>
<div class="nav__menu" id="nav-menu" hidden>
<ul class="nav__menu-list">
<li><a class="nav__menu-link" href="#">New</a></li>
<li><a class="nav__menu-link" href="#">Seating</a></li>
<li><a class="nav__menu-link" href="#">Rugs</a></li>
<li><a class="nav__menu-link" href="#">Lighting</a></li>
<li><a class="nav__menu-link" href="#">Objects</a></li>
<li><a class="nav__menu-link" href="#">Rooms</a></li>
<li><a class="nav__menu-link" href="#">Journal</a></li>
</ul>
<p class="nav__menu-note">Showroom open Tuesday to Sunday, 10 to 6</p>
</div>
</header>
<style>
.nav {
position: sticky;
top: 0;
z-index: 20;
background: var(--ink);
color: var(--paper);
font-family: var(--font-label);
}
.nav__utility {
display: flex;
justify-content: center;
gap: var(--space-l);
border-bottom: var(--rule-thin) solid var(--rule-dark);
}
.nav__utility-link,
.nav__link {
color: inherit;
text-decoration: none;
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.nav__utility-link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: var(--paper-soft);
background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.8rem) / 100% var(--rule-thin);
transition: color var(--quick) var(--ease-io), background-size var(--underline) var(--ease-io);
}
.nav__utility-link:hover,
.nav__utility-link:focus-visible {
color: var(--paper);
background-size: 0 var(--rule-thin);
}
.nav__bar {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: var(--space-m);
height: var(--bar-height);
padding: 0 var(--edge);
}
.nav__toggle {
display: none;
}
.nav__wordmark {
display: inline-flex;
align-items: baseline;
gap: 0.4em;
min-height: 44px;
align-items: center;
color: inherit;
text-decoration: none;
font-family: var(--font-display);
font-size: 1.75rem;
font-style: italic;
line-height: 1;
letter-spacing: 0.01em;
}
.nav__wordmark-sub {
font-family: var(--font-label);
font-style: normal;
font-size: 0.55rem;
letter-spacing: 0.3em;
text-transform: uppercase;
padding-left: 0.6em;
border-left: var(--rule-thin) solid var(--rule-dark);
}
.nav__list {
display: flex;
justify-content: center;
gap: clamp(0.9rem, 2.4vw, 2.5rem);
margin: 0;
padding: 0;
list-style: none;
}
.nav__link {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
background: linear-gradient(currentColor, currentColor) no-repeat 100% calc(100% - 0.7rem) / 0 var(--rule-thin);
transition: background-size var(--underline) var(--ease-io);
}
.nav__link:hover,
.nav__link:focus-visible {
background-size: 100% var(--rule-thin);
background-position-x: 0;
}
.nav__tools {
display: flex;
gap: 0.25rem;
margin-right: -0.6rem;
}
.nav__icon,
.nav__toggle {
place-items: center;
width: 44px;
height: 44px;
color: inherit;
transition: opacity var(--quick) var(--ease-io);
}
.nav__icon {
display: inline-grid;
}
.nav__icon:hover {
opacity: 0.65;
}
.nav__icon svg {
fill: none;
stroke: currentColor;
stroke-width: 1.4;
}
.nav a:focus-visible,
.nav button:focus-visible {
outline: var(--rule-thin) solid var(--paper);
outline-offset: 2px;
}
.nav__menu {
padding: var(--space-l) var(--edge) var(--space-xl);
border-top: var(--rule-thin) solid var(--rule-dark);
}
.nav__menu[hidden] {
display: none;
}
.nav__menu-list {
margin: 0;
padding: 0;
list-style: none;
}
.nav__menu-link {
display: block;
padding: var(--space-xs) 0;
color: inherit;
text-decoration: none;
font-family: var(--font-display);
font-size: var(--display-l);
line-height: 1.1;
letter-spacing: var(--track-display);
text-transform: uppercase;
opacity: 0;
translate: 0 0.5rem;
transition: opacity var(--zoom) var(--ease), translate var(--zoom) var(--ease);
transition-delay: calc(var(--order, 0) * 40ms);
}
.nav.is-open .nav__menu-link {
opacity: 1;
translate: 0 0;
}
.nav__menu-note {
margin: var(--space-l) 0 0;
color: var(--paper-soft);
font-size: var(--label);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
@media (max-width: 56rem) {
.nav__bar {
grid-template-columns: 1fr auto 1fr;
}
.nav__toggle {
display: inline-grid;
align-content: center;
gap: 5px;
margin-left: -0.6rem;
padding: 0 11px;
border: 0;
background: none;
cursor: pointer;
}
.nav__toggle-line {
display: block;
width: 22px;
height: 1.5px;
background: currentColor;
transition: transform var(--underline) var(--ease), opacity var(--quick) var(--ease-io);
}
.nav.is-open .nav__toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__wordmark-sub,
.nav__primary,
.nav__icon--account {
display: none;
}
.nav__tools {
justify-content: flex-end;
}
}
@media (max-width: 24rem) {
.nav__utility {
gap: var(--space-m);
}
}
@media (prefers-reduced-motion: reduce) {
.nav__menu-link { opacity: 1; translate: none; transition: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.nav')) {
const toggle = root.querySelector('.nav__toggle');
const menu = root.querySelector('.nav__menu');
if (!toggle || !menu) continue;
menu.querySelectorAll('.nav__menu-link').forEach((link, order) => link.style.setProperty('--order', order));
const set = (open) => {
toggle.setAttribute('aria-expanded', String(open));
toggle.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
if (open) {
menu.hidden = false;
requestAnimationFrame(() => requestAnimationFrame(() => root.classList.add('is-open')));
} else {
root.classList.remove('is-open');
menu.hidden = true;
}
};
toggle.addEventListener('click', () => set(!root.classList.contains('is-open')));
menu.addEventListener('click', (event) => { if (event.target.closest('a')) set(false); });
root.addEventListener('keydown', (event) => {
if (event.key === 'Escape' && root.classList.contains('is-open')) { set(false); toggle.focus(); }
});
matchMedia('(min-width: 56.0625rem)').addEventListener('change', (event) => { if (event.matches) set(false); });
}
})();
</script>
Full-bleed arrival
A close-up photograph edge to edge that fades up from black, with a centred eyebrow, tall title and underlined link.
Code
React For Figma<section class="hero">
<div class="hero__frame">
<img class="hero__picture" src="assets/carpet-field.jpg" alt="Close view of a knotted wool carpet in rust, ochre and indigo" width="1047" height="1200">
</div>
<div class="hero__copy">
<p class="hero__eyebrow">Arriving this autumn</p>
<h1 class="hero__title">The Wool Room</h1>
<a class="hero__link" href="#">Shop the edit</a>
</div>
</section>
<style>
.hero {
position: relative;
display: grid;
place-items: end center;
min-height: clamp(30rem, 56vw, 54rem);
overflow: hidden;
background: var(--ink);
color: var(--paper);
isolation: isolate;
}
.hero__frame {
position: absolute;
inset: 0;
z-index: -1;
animation: hero-rise var(--reveal) var(--ease) 150ms both;
}
.hero__frame::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse 60% 45% at 50% 72%, var(--scrim), transparent 70%);
}
.hero__picture {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 40%;
transform: scale(1.9);
transform-origin: 46% 38%;
}
.hero__copy {
display: grid;
justify-items: center;
gap: var(--space-s);
padding: 0 var(--edge) clamp(3rem, 9vw, 7.5rem);
text-align: center;
animation: hero-copy var(--reveal) var(--ease) 600ms both;
}
.hero__eyebrow {
margin: 0;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.hero__title {
margin: 0;
font-family: var(--font-display);
font-size: var(--display-xl);
font-weight: 400;
line-height: 1.02;
letter-spacing: var(--track-display);
text-transform: uppercase;
text-wrap: balance;
}
.hero__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.75rem) / 100% var(--rule-thin);
transition: background-size var(--underline) var(--ease-io);
}
.hero__link:hover,
.hero__link:focus-visible {
background-size: 0 var(--rule-thin);
background-position-x: 100%;
}
.hero__link:focus-visible {
outline: var(--rule-thin) solid var(--paper);
outline-offset: 4px;
}
@keyframes hero-rise {
from { opacity: 0; transform: scale(1.06); }
to { opacity: 1; transform: scale(1); }
}
@keyframes hero-copy {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.hero__frame, .hero__copy { animation: none; }
}
</style>
Grey tile rail
Objects on pale grey tiles in a snapping rail, names in tall caps, prices below, round arrows and a black View all button.
Code
React For Figma<section class="lots" aria-labelledby="lots-title">
<p class="lots__eyebrow">From the saleroom</p>
<h2 class="lots__title" id="lots-title">New at Varrow</h2>
<div class="lots__wrap">
<ul class="lots__rail">
<li class="lots__item">
<a class="lots__card" href="#">
<span class="lots__tile"><img class="lots__picture" src="assets/armchair.jpg" alt="Carved armchair with red tufted upholstery" width="610" height="800" loading="lazy"></span>
<span class="lots__name">Fenwick Parlour Chair</span>
<span class="lots__price"><span class="lots__was">$4,900.00</span> $3,920.00</span>
</a>
</li>
<li class="lots__item">
<a class="lots__card" href="#">
<span class="lots__tile"><img class="lots__picture" src="assets/table.jpg" alt="Six-sided centre table with a white marble top" width="800" height="633" loading="lazy"></span>
<span class="lots__name">Hale Marble Centre Table</span>
<span class="lots__price">$6,150.00</span>
</a>
</li>
<li class="lots__item">
<a class="lots__card" href="#">
<span class="lots__tile"><img class="lots__picture" src="assets/vase.jpg" alt="Blue and white tulip vase with five spouts" width="724" height="800" loading="lazy"></span>
<span class="lots__name">Five-Spout Tulip Vase</span>
<span class="lots__price">$1,280.00</span>
</a>
</li>
<li class="lots__item">
<a class="lots__card" href="#">
<span class="lots__tile"><img class="lots__picture" src="assets/lamp.jpg" alt="Bronze oil lamp with a figure on the handle" width="800" height="600" loading="lazy"></span>
<span class="lots__name">Bronze Lamp, Winged Handle</span>
<span class="lots__price">From $860.00</span>
</a>
</li>
</ul>
<button class="lots__arrow lots__arrow--prev" type="button" aria-label="Previous">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="M15 5 8 12l7 7"/></svg>
</button>
<button class="lots__arrow lots__arrow--next" type="button" aria-label="Next">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="m9 5 7 7-7 7"/></svg>
</button>
</div>
<a class="lots__button" href="#">View all</a>
</section>
<style>
.lots {
display: grid;
grid-template-columns: minmax(0, 1fr);
justify-items: center;
padding: var(--section-space) var(--edge);
background: var(--paper);
color: var(--ink);
text-align: center;
}
.lots__eyebrow {
margin: 0 0 var(--space-xs);
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.lots__title {
margin: 0 0 var(--space-xl);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 400;
line-height: 1.05;
letter-spacing: var(--track-display);
text-transform: uppercase;
}
.lots__wrap {
position: relative;
width: 100%;
}
.lots__rail {
display: grid;
grid-auto-flow: column;
grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
}
.lots__rail::-webkit-scrollbar {
display: none;
}
.lots__item {
scroll-snap-align: start;
}
.lots__card {
display: grid;
gap: var(--space-xs);
color: inherit;
text-decoration: none;
}
.lots__tile {
display: grid;
place-items: center;
aspect-ratio: 1 / 1;
overflow: hidden;
background: var(--tile);
}
.lots__picture {
width: 78%;
height: 78%;
object-fit: contain;
mix-blend-mode: multiply;
filter: contrast(1.06);
transition: transform var(--zoom) var(--ease);
}
.lots__card:hover .lots__picture,
.lots__card:focus-visible .lots__picture {
transform: scale(1.06);
}
.lots__card:focus-visible {
outline: var(--rule-thin) solid var(--ink);
outline-offset: 4px;
}
.lots__name {
margin-top: var(--space-m);
padding: 0 var(--space-s);
font-family: var(--font-display);
font-size: var(--display-s);
line-height: 1.3;
letter-spacing: var(--track-display);
text-transform: uppercase;
text-wrap: balance;
}
.lots__price {
color: var(--ink-soft);
font-family: var(--font-label);
font-size: var(--text-s);
letter-spacing: 0.02em;
}
.lots__was {
margin-right: 0.4em;
text-decoration: line-through;
opacity: 0.6;
}
.lots__arrow {
position: absolute;
top: calc(var(--rail-tile, 12rem) / 2);
display: none;
place-items: center;
width: 44px;
height: 44px;
border: var(--rule-thin) solid var(--rule);
border-radius: var(--radius-round);
background: var(--paper);
color: var(--ink);
cursor: pointer;
translate: 0 -50%;
transition: background-color var(--quick) var(--ease-io), color var(--quick) var(--ease-io);
}
.lots__arrow svg {
fill: none;
stroke: currentColor;
stroke-width: 1.5;
}
.lots__arrow:hover,
.lots__arrow:focus-visible {
background: var(--ink);
color: var(--paper);
}
.lots__arrow--prev { left: var(--space-s); }
.lots__arrow--next { right: var(--space-s); }
.lots.is-scrollable .lots__arrow {
display: grid;
}
.lots__arrow[disabled] {
opacity: 0;
pointer-events: none;
}
.lots__button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
margin-top: var(--space-xl);
padding: 0 var(--space-l);
border: var(--rule-thin) solid var(--ink);
background: var(--ink);
color: var(--paper);
text-decoration: none;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
transition: background-color var(--quick) var(--ease-io), color var(--quick) var(--ease-io);
}
.lots__button:hover,
.lots__button:focus-visible {
background: var(--paper);
color: var(--ink);
}
@media (max-width: 56rem) {
.lots__rail {
grid-auto-columns: calc((100% - var(--gap)) / 2.15);
}
}
@media (prefers-reduced-motion: reduce) {
.lots__rail { scroll-behavior: auto; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.lots')) {
const rail = root.querySelector('.lots__rail');
const prev = root.querySelector('.lots__arrow--prev');
const next = root.querySelector('.lots__arrow--next');
if (!rail || !prev || !next) continue;
const update = () => {
const tile = rail.querySelector('.lots__tile');
if (tile) root.style.setProperty('--rail-tile', tile.offsetHeight + 'px');
const room = rail.scrollWidth - rail.clientWidth;
root.classList.toggle('is-scrollable', room > 2);
prev.disabled = rail.scrollLeft < 2;
next.disabled = rail.scrollLeft > room - 2;
};
const step = (direction) => {
const item = rail.querySelector('.lots__item');
rail.scrollBy({ left: direction * (item ? item.offsetWidth : rail.clientWidth / 2) });
};
prev.addEventListener('click', () => step(-1));
next.addEventListener('click', () => step(1));
rail.addEventListener('scroll', update, { passive: true });
new ResizeObserver(update).observe(rail);
update();
}
})();
</script>
Category strip
A row of photo tiles edge to edge, each with a white tall-caps label, that zoom on hover.
Code
React For Figma<nav class="rooms" aria-label="Shop by room">
<a class="rooms__tile" href="#">
<img class="rooms__picture" src="assets/drawing-room.jpg" alt="Pale green drawing room with tall windows and a chandelier" width="800" height="615" loading="lazy">
<span class="rooms__label">Drawing</span>
</a>
<a class="rooms__tile" href="#">
<img class="rooms__picture" src="assets/bedroom.jpg" alt="Dark panelled bedroom with a green canopy bed" width="800" height="606" loading="lazy">
<span class="rooms__label">Bedroom</span>
</a>
<a class="rooms__tile" href="#">
<img class="rooms__picture" src="assets/shaker-room.jpg" alt="Plain timber room with ladder-back chairs and an open door" width="800" height="373" loading="lazy">
<span class="rooms__label">Kitchen</span>
</a>
<a class="rooms__tile" href="#">
<img class="rooms__picture" src="assets/entrance-hall.jpg" alt="Entrance hall with a curving stair and painted wallpaper" width="800" height="772" loading="lazy">
<span class="rooms__label">Hallway</span>
</a>
</nav>
<style>
.rooms {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
background: var(--ink);
}
.rooms__tile {
position: relative;
display: grid;
place-items: end center;
aspect-ratio: 5 / 6;
overflow: hidden;
color: var(--paper);
text-decoration: none;
isolation: isolate;
}
.rooms__picture {
position: absolute;
inset: 0;
z-index: -2;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--zoom) var(--ease);
}
.rooms__tile::after {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(to top, var(--scrim), transparent 55%);
}
.rooms__tile:hover .rooms__picture,
.rooms__tile:focus-visible .rooms__picture {
transform: scale(1.05);
}
.rooms__tile:focus-visible {
outline: var(--rule-thin) solid var(--paper);
outline-offset: -6px;
}
.rooms__label {
padding: 0 var(--space-s) clamp(1.25rem, 3vw, 2.5rem);
font-family: var(--font-display);
font-size: var(--display-m);
line-height: 1;
letter-spacing: var(--track-display);
text-transform: uppercase;
}
@media (max-width: 40rem) {
.rooms {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rooms__tile {
aspect-ratio: 1 / 1.15;
}
}
</style>
Black half, photo half
A solid black half with a centred eyebrow, heading, copy and link beside a full-height photograph.
Code
React For Figma<section class="heritage">
<div class="heritage__panel">
<p class="heritage__eyebrow">Dealers since 1908</p>
<h2 class="heritage__title">Four rooms, one long family</h2>
<p class="heritage__copy">Varrow House began as a single cabinet of borrowed chairs above a bookbinder. Three generations later it fills four rooms with furniture, carpets and odd beautiful things, each one chosen for the house it will go to next.</p>
<a class="heritage__link" href="#">Read the house journal</a>
</div>
<figure class="heritage__figure">
<img class="heritage__picture" src="assets/dining-room.jpg" alt="Formal dining room with a long table, pale walls and tall windows" width="1200" height="820" loading="lazy">
</figure>
</section>
<style>
.heritage {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
min-height: clamp(28rem, 48vw, 46rem);
background: var(--ink);
color: var(--paper);
}
.heritage__panel {
display: grid;
align-content: center;
justify-items: center;
padding: var(--section-space) clamp(1.5rem, 7vw, 7rem);
text-align: center;
}
.heritage__eyebrow {
margin: 0 0 var(--space-s);
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.heritage__title {
margin: 0 0 var(--space-m);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 400;
line-height: 1.05;
letter-spacing: var(--track-display);
text-transform: uppercase;
text-wrap: balance;
}
.heritage__copy {
max-width: 30rem;
margin: 0 0 var(--space-l);
color: var(--paper-soft);
font-family: var(--font-body);
font-size: var(--text-m);
line-height: var(--leading-body);
}
.heritage__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.75rem) / 100% var(--rule-thin);
transition: background-size var(--underline) var(--ease-io);
}
.heritage__link:hover,
.heritage__link:focus-visible {
background-size: 0 var(--rule-thin);
background-position-x: 100%;
}
.heritage__link:focus-visible {
outline: var(--rule-thin) solid var(--paper);
outline-offset: 4px;
}
.heritage__figure {
position: relative;
margin: 0;
overflow: hidden;
}
.heritage__picture {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 40% 50%;
}
@media (max-width: 48rem) {
.heritage {
grid-template-columns: 1fr;
}
.heritage__figure {
aspect-ratio: 4 / 3;
}
}
</style>
Rounded photo rail
A centred heading over a rail of 6px-rounded photographs with a round arrow button and a newsletter card in black.
Code
React For Figma<section class="community" aria-labelledby="community-title">
<h2 class="community__title" id="community-title">Seen in your rooms</h2>
<div class="community__wrap">
<ul class="community__rail">
<li class="community__item"><img class="community__picture" src="assets/bedroom.jpg" alt="Panelled bedroom with a canopy bed" width="800" height="606" loading="lazy"></li>
<li class="community__item"><img class="community__picture" src="assets/drawing-room.jpg" alt="Green drawing room with a chandelier" width="800" height="615" loading="lazy"></li>
<li class="community__item"><img class="community__picture" src="assets/carpet-field.jpg" alt="A knotted carpet hung on a wall" width="1047" height="1200" loading="lazy"></li>
<li class="community__item"><img class="community__picture" src="assets/entrance-hall.jpg" alt="Hall with a curving stair" width="800" height="772" loading="lazy"></li>
<li class="community__item"><img class="community__picture" src="assets/shaker-room.jpg" alt="Plain timber room with chairs" width="800" height="373" loading="lazy"></li>
<li class="community__item"><img class="community__picture" src="assets/dining-room.jpg" alt="Formal dining room" width="1200" height="820" loading="lazy"></li>
</ul>
<button class="community__arrow" type="button" aria-label="More pictures">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="m9 5 7 7-7 7"/></svg>
</button>
</div>
<form class="community__card" novalidate>
<button class="community__close" type="button" aria-label="Close sign-up">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="M5 5l14 14M19 5 5 19"/></svg>
</button>
<p class="community__card-title">Letters from the house</p>
<p class="community__card-copy">New arrivals, saleroom dates and the odd story about where things came from.</p>
<label class="community__label" for="community-email">E-mail</label>
<input class="community__field" id="community-email" type="email" name="email" placeholder="E-mail" required autocomplete="email">
<button class="community__submit" type="submit">Subscribe</button>
<p class="community__status" role="status" aria-live="polite"></p>
</form>
</section>
<style>
.community {
position: relative;
display: grid;
padding: var(--section-space) var(--edge);
background: var(--paper);
color: var(--ink);
}
.community__title {
margin: 0 0 var(--space-l);
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
line-height: 1.1;
letter-spacing: var(--track-display);
text-align: center;
text-transform: uppercase;
}
.community__wrap {
position: relative;
}
.community__rail {
display: grid;
grid-auto-flow: column;
grid-auto-columns: calc((100% - 4 * var(--space-s)) / 5);
gap: var(--space-s);
margin: 0;
padding: 0;
list-style: none;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
}
.community__rail::-webkit-scrollbar {
display: none;
}
.community__item {
aspect-ratio: 4 / 5;
overflow: hidden;
border-radius: var(--radius);
scroll-snap-align: start;
}
.community__picture {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--zoom) var(--ease);
}
.community__item:hover .community__picture {
transform: scale(1.05);
}
.community__arrow {
position: absolute;
top: 50%;
right: calc(var(--space-s) * -1 + 0.25rem);
display: grid;
place-items: center;
width: 44px;
height: 44px;
border: 0;
border-radius: var(--radius-round);
background: var(--paper);
color: var(--ink);
box-shadow: 0 2px 10px var(--rule);
cursor: pointer;
translate: 0 -50%;
transition: transform var(--underline) var(--ease);
}
.community__arrow:hover,
.community__arrow:focus-visible {
transform: scale(1.08);
}
.community__arrow svg,
.community__close svg {
fill: none;
stroke: currentColor;
stroke-width: 1.5;
}
.community__card {
position: absolute;
right: var(--edge);
bottom: calc(var(--section-space) * -0.5);
z-index: 2;
display: grid;
gap: var(--space-s);
width: min(23rem, 100% - 2 * var(--edge));
padding: var(--space-l) var(--space-l) var(--space-l);
background: var(--ink);
color: var(--paper);
text-align: center;
transition: opacity var(--underline) var(--ease-io), translate var(--underline) var(--ease);
}
.community__card.is-closed {
opacity: 0;
translate: 0 1rem;
pointer-events: none;
}
.community__close {
position: absolute;
top: 0.25rem;
right: 0.25rem;
display: grid;
place-items: center;
width: 44px;
height: 44px;
border: 0;
background: none;
color: inherit;
cursor: pointer;
}
.community__card-title {
margin: 0;
padding: 0 var(--space-m);
font-family: var(--font-display);
font-size: 1.6rem;
line-height: 1.1;
letter-spacing: var(--track-display);
text-transform: uppercase;
}
.community__card-copy {
margin: 0 0 var(--space-s);
color: var(--paper-soft);
font-family: var(--font-body);
font-size: 0.9375rem;
line-height: var(--leading-body);
}
.community__label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.community__field {
min-height: 48px;
padding: 0 var(--space-s);
border: var(--rule-thin) solid var(--rule-dark);
border-radius: 0;
background: transparent;
color: var(--paper);
font: 400 var(--text-m) var(--font-body);
transition: border-color var(--quick) var(--ease-io);
}
.community__field::placeholder {
color: var(--paper-soft);
}
.community__field:focus {
outline: none;
border-color: var(--paper);
}
.community__field.is-invalid {
border-color: var(--paper);
border-style: dashed;
}
.community__submit {
min-height: 44px;
border: var(--rule-thin) solid var(--paper);
background: var(--paper);
color: var(--ink);
font-family: var(--font-label);
font-size: var(--label);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
cursor: pointer;
transition: background-color var(--quick) var(--ease-io), color var(--quick) var(--ease-io);
}
.community__submit:hover,
.community__submit:focus-visible {
background: var(--ink);
color: var(--paper);
}
.community__status {
min-height: 1.2em;
margin: 0;
color: var(--paper-soft);
font-family: var(--font-label);
font-size: var(--label-xs);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.community button:focus-visible {
outline: var(--rule-thin) solid currentColor;
outline-offset: 2px;
}
@media (max-width: 56rem) {
.community__rail {
grid-auto-columns: calc((100% - var(--space-s)) / 2.3);
}
.community__card {
position: relative;
right: auto;
bottom: auto;
width: 100%;
margin-top: var(--space-l);
}
.community__arrow {
right: var(--space-s);
}
}
@media (prefers-reduced-motion: reduce) {
.community__rail { scroll-behavior: auto; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.community')) {
const rail = root.querySelector('.community__rail');
const arrow = root.querySelector('.community__arrow');
const card = root.querySelector('.community__card');
if (rail && arrow) {
arrow.addEventListener('click', () => {
const item = rail.querySelector('.community__item');
const end = rail.scrollLeft >= rail.scrollWidth - rail.clientWidth - 2;
rail.scrollTo({ left: end ? 0 : rail.scrollLeft + (item ? item.offsetWidth : 200) });
});
}
if (!card) continue;
const field = card.querySelector('.community__field');
const status = card.querySelector('.community__status');
card.querySelector('.community__close')?.addEventListener('click', () => card.classList.add('is-closed'));
card.addEventListener('submit', (event) => {
event.preventDefault();
const ok = field.checkValidity();
field.classList.toggle('is-invalid', !ok);
status.textContent = ok ? 'You are on the list.' : 'Please enter an e-mail address.';
if (ok) card.reset();
});
}
})();
</script>
White footer
Newsletter sign-up with an underlined field, visit hours, link columns and small icons on white.
Code
React For Figma<footer class="footer">
<div class="footer__grid">
<form class="footer__signup" novalidate>
<p class="footer__heading">Sign up for letters</p>
<p class="footer__copy">First word on new arrivals, saleroom dates and the rare quiet sale.</p>
<label class="footer__label" for="footer-email">E-mail</label>
<input class="footer__field" id="footer-email" type="email" name="email" placeholder="E-mail" required autocomplete="email">
<button class="footer__submit" type="submit">Subscribe</button>
<p class="footer__status" role="status" aria-live="polite"></p>
</form>
<div class="footer__col">
<p class="footer__heading">Visit us</p>
<address class="footer__copy">14 Wickham Row, Harbour Quarter</address>
<p class="footer__copy">Tuesday to Saturday, 10am to 6pm<br>Sunday, noon to 5pm</p>
<p class="footer__copy">+1 555 014 2290</p>
</div>
<nav class="footer__col" aria-label="The house">
<p class="footer__heading">The house</p>
<ul class="footer__list">
<li><a class="footer__link" href="#">About us</a></li>
<li><a class="footer__link" href="#">The saleroom</a></li>
<li><a class="footer__link" href="#">Trade programme</a></li>
<li><a class="footer__link" href="#">Journal</a></li>
</ul>
</nav>
<nav class="footer__col" aria-label="Client care">
<p class="footer__heading">Client care</p>
<ul class="footer__list">
<li><a class="footer__link" href="#">Delivery</a></li>
<li><a class="footer__link" href="#">Returns</a></li>
<li><a class="footer__link" href="#">Care of old things</a></li>
<li><a class="footer__link" href="#">Contact</a></li>
</ul>
</nav>
</div>
<div class="footer__base">
<div class="footer__social">
<a class="footer__icon" href="#" aria-label="Pictures feed">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><rect x="3.5" y="3.5" width="17" height="17" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.2" cy="6.8" r="0.6"/></svg>
</a>
<a class="footer__icon" href="#" aria-label="Pinboard">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><circle cx="12" cy="12" r="8.5"/><path d="M10.5 18.5 12.6 8.8M10 8.6c3.6-1.6 6.4 1.2 4.8 3.8-1 1.6-3 1.6-3.8.6"/></svg>
</a>
</div>
<p class="footer__fine">© 2026 Varrow House</p>
</div>
</footer>
<style>
.footer {
padding: var(--section-space) var(--edge) var(--space-l);
border-top: var(--rule-thin) solid var(--rule);
background: var(--paper);
color: var(--ink);
}
.footer__grid {
display: grid;
grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
gap: var(--space-xl) var(--space-l);
}
.footer__signup {
display: grid;
align-content: start;
justify-items: start;
max-width: 20rem;
}
.footer__heading {
margin: 0 0 var(--space-s);
font-family: var(--font-display);
font-size: var(--display-s);
line-height: 1.2;
letter-spacing: var(--track-display);
text-transform: uppercase;
}
.footer__copy {
margin: 0 0 var(--space-s);
color: var(--ink-soft);
font-family: var(--font-body);
font-size: 0.875rem;
font-style: normal;
line-height: var(--leading-body);
}
.footer__label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.footer__field {
width: 100%;
min-height: 44px;
padding: 0;
border: 0;
border-bottom: var(--rule-thin) solid var(--ink);
border-radius: 0;
background: transparent;
color: var(--ink);
font: 400 0.9375rem var(--font-body);
}
.footer__field::placeholder {
color: var(--ink-soft);
}
.footer__field:focus {
outline: none;
border-bottom-width: 2px;
}
.footer__field.is-invalid {
border-bottom-style: dashed;
}
.footer__submit {
min-height: 44px;
margin-top: var(--space-m);
padding: 0 var(--space-l);
border: var(--rule-thin) solid var(--ink);
background: var(--ink);
color: var(--paper);
font-family: var(--font-label);
font-size: var(--label-xs);
font-weight: 500;
letter-spacing: var(--track-label);
text-transform: uppercase;
cursor: pointer;
transition: background-color var(--quick) var(--ease-io), color var(--quick) var(--ease-io);
}
.footer__submit:hover,
.footer__submit:focus-visible {
background: var(--paper);
color: var(--ink);
}
.footer__status {
min-height: 1.2em;
margin: var(--space-s) 0 0;
color: var(--ink-soft);
font-family: var(--font-label);
font-size: var(--label-xs);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.footer__list {
margin: 0;
padding: 0;
list-style: none;
}
.footer__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: var(--ink-soft);
text-decoration: none;
font-family: var(--font-label);
font-size: var(--label);
letter-spacing: var(--track-label);
text-transform: uppercase;
background: linear-gradient(currentColor, currentColor) no-repeat 100% calc(100% - 0.7rem) / 0 var(--rule-thin);
transition: color var(--quick) var(--ease-io), background-size var(--underline) var(--ease-io);
}
.footer__link:hover,
.footer__link:focus-visible {
color: var(--ink);
background-size: 100% var(--rule-thin);
background-position-x: 0;
}
.footer__base {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
margin-top: var(--space-xl);
padding-top: var(--space-s);
border-top: var(--rule-thin) solid var(--rule);
}
.footer__social {
display: flex;
margin-left: -0.75rem;
}
.footer__icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
color: var(--ink);
transition: opacity var(--quick) var(--ease-io);
}
.footer__icon:hover {
opacity: 0.6;
}
.footer__icon svg {
fill: none;
stroke: currentColor;
stroke-width: 1.4;
}
.footer__fine {
margin: 0;
color: var(--ink-soft);
font-family: var(--font-label);
font-size: var(--label-xs);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.footer a:focus-visible,
.footer button:focus-visible {
outline: var(--rule-thin) solid var(--ink);
outline-offset: 2px;
}
@media (max-width: 56rem) {
.footer__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 30rem) {
.footer__grid {
grid-template-columns: 1fr;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.footer')) {
const form = root.querySelector('.footer__signup');
if (!form) continue;
const field = form.querySelector('.footer__field');
const status = form.querySelector('.footer__status');
form.addEventListener('submit', (event) => {
event.preventDefault();
const ok = field.checkValidity();
field.classList.toggle('is-invalid', !ok);
status.textContent = ok ? 'You are on the list.' : 'Please enter an e-mail address.';
if (ok) form.reset();
});
}
})();
</script>
Style
- --ink #000000
- --ink-soft rgba(0, 0, 0, 0.65)
- --paper #ffffff
- --paper-soft rgba(255, 255, 255, 0.65)
- --tile #f4f4f4
- --rule rgba(0, 0, 0, 0.18)
- --rule-dark rgba(255, 255, 255, 0.28)
- --scrim rgba(0, 0, 0, 0.32)
Type
- Instrument Serif for headlines, stands in for a condensed display serif set in capitals with light tracking (Domaine Display Condensed)
- Newsreader for running text, stands in for a sharp book serif for body copy (Domaine Text)
- Jost for labels, stands in for a geometric grotesk in small tracked capitals for nav, eyebrows and buttons (GT Eesti)
Motion
- The hero photograph fades up from a black screen over 1.2s with a slow settle from 6 percent larger, ease cubic-bezier(0.22, 1, 0.36, 1).
- Pictures in tiles zoom to about 105 percent over 0.55s with cubic-bezier(0.22, 1, 0.36, 1) on hover.
- Text links carry a 1px underline that shrinks away and grows back over 0.3s ease-in-out on hover; colours change over 0.2s.
- Rails slide by one tile on the round arrow buttons, with smooth scrolling and snapping.
Rules
- Every name and heading is a tall condensed serif in capitals, light tracking, never bold.
- Every label, nav item, eyebrow and button is a small geometric sans in capitals with wide tracking.
- Only black, white and a pale grey #f4f4f4; colour lives only in the photographs.
- Objects sit on pale grey tiles, centred, with the name and price centred below in the serif.
- Sections alternate between white and solid black; black panels hold centred text beside a full-height photograph.
- Headings over photographs are white, centred, with a soft dark scrim under them.
- Corners are square for full-bleed pictures and 6px for tiles in a rail; arrow buttons are perfect circles.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Newsreader:opsz,wght@6..72,400&family=Jost:wght@400;500&display=swap");
:root {
/* Colour */
--ink: #000000; /* main text on white, the black bars and panels */
--ink-soft: rgba(0, 0, 0, 0.65); /* body copy and prices on white */
--paper: #ffffff; /* page background, text on black */
--paper-soft: rgba(255, 255, 255, 0.65); /* body copy on black and over pictures */
--tile: #f4f4f4; /* the pale grey ground behind every object shot */
--rule: rgba(0, 0, 0, 0.18); /* hairlines and field underlines on white */
--rule-dark: rgba(255, 255, 255, 0.28); /* hairlines and field borders on black */
--scrim: rgba(0, 0, 0, 0.32); /* darkening over a photograph under white type */
/* Type */
--font-display: "Instrument Serif", "Times New Roman", serif; /* tall condensed serif capitals for every name and heading */
--font-body: "Newsreader", Georgia, serif; /* running text, sentence case */
--font-label: "Jost", "Helvetica Neue", sans-serif; /* small tracked capitals: nav, eyebrows, buttons */
--display-xl: clamp(2.6rem, 1.6rem + 4vw, 4.5rem); /* hero title */
--display-l: clamp(2rem, 1.4rem + 2.2vw, 3rem); /* section headings */
--display-m: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); /* tile labels */
--display-s: 1.25rem; /* product names */
--text-m: 1rem; /* running text */
--text-s: 0.8125rem; /* prices, small copy */
--label: 0.75rem; /* tracked capitals */
--label-xs: 0.6875rem; /* eyebrows */
--track-label: 0.125em; /* tracking of small capitals */
--track-display: 0.02em; /* tracking of the serif capitals */
--leading-body: 1.65; /* running text line height */
/* Space */
--edge: clamp(1rem, 3.3vw, 3rem); /* side padding of a section */
--gap: 0.375rem; /* gap between product and photo tiles */
--section-space: clamp(3rem, 6vw, 5.5rem); /* air above and below a section */
--space-xs: 0.375rem; /* tight stack */
--space-s: 0.75rem; /* eyebrow to title */
--space-m: 1.25rem; /* title to copy */
--space-l: 2rem; /* copy to link */
--space-xl: 3rem; /* heading to grid */
--bar-height: 3.75rem; /* the black top bar */
/* Shape */
--radius: 6px; /* photo tiles and fields */
--radius-round: 50%; /* round arrow buttons */
--rule-thin: 1px; /* hairlines and link underlines */
/* Motion */
--ease: cubic-bezier(0.22, 1, 0.36, 1); /* long soft stop for zooms and slides */
--ease-io: ease-in-out; /* colour and underline changes */
--quick: 200ms; /* colour change on hover */
--underline: 300ms; /* underline growing under a link */
--zoom: 550ms; /* picture zoom on hover */
--reveal: 1200ms; /* hero fade from black */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-m)/var(--leading-body) 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("tall-caps-showroom"), 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