Highlighter Word Chips
A white, almost empty page where every word sits in its own small rounded chip, grey by default and lit periwinkle, mint, lemon or blush like a highlighter pen, with the wordmark itself built from chips that swap words and grow to fit. Pictures are hard-cropped tiles stacked down the middle with chip captions under them; suits small studios, portfolios and shops with a sense of humour.
Parts
Chip bar
Frosted top bar with the snail chip and name chip at left, a blush status chip, and a plus button that turns into a cross and drops a panel of chip links.
Code
React For Figma<header class="nav">
<div class="nav__bar">
<a class="nav__home" href="#" aria-label="Dawdle, home">
<span class="nav__mark" aria-hidden="true">
<svg class="nav__snail" viewBox="0 0 32 32" width="22" height="22">
<path d="M3 26.5c0-1.6 1.2-2.5 3-2.5h15.5c2.2 0 3.4-1.2 4-3.6l1-5.4h2.6l-1.1 6.6c-.7 4.4-2.9 6.9-6.9 6.9H5c-1.3 0-2-.8-2-2Z" fill="currentColor"/>
<circle cx="14" cy="16" r="8.4" fill="currentColor"/>
<path d="M14.4 16.4a1.6 1.6 0 1 1-1.4-2.1 3.4 3.4 0 1 1-2.6 4.6 5.4 5.4 0 1 1 9.2-3.8" fill="none" stroke="var(--paper)" stroke-width="1.5" stroke-linecap="round"/>
<path d="M27 15l-2.2-7.6M28.6 15l1.2-7.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
<circle cx="24.6" cy="6.9" r="1.4" fill="currentColor"/>
<circle cx="29.9" cy="6.6" r="1.4" fill="currentColor"/>
</svg>
</span>
<span class="nav__name">Dawdle</span>
</a>
<span class="nav__status">Booking spring 2027</span>
<button class="nav__toggle" type="button" aria-expanded="false" aria-controls="nav-panel" aria-label="Open menu">
<svg viewBox="0 0 20 20" width="18" height="18" aria-hidden="true"><path d="M10 2.5v15M2.5 10h15" stroke="currentColor" stroke-width="2.6"/></svg>
</button>
</div>
<nav class="nav__panel" id="nav-panel" aria-label="Main">
<ul class="nav__list">
<li><a class="nav__link" href="#"><span class="nav__word">About</span><span class="nav__hint">How we work</span></a></li>
<li><a class="nav__link" href="#"><span class="nav__word">Work</span><span class="nav__hint">Every project</span></a></li>
<li><a class="nav__link" href="#"><span class="nav__word">Shop</span><span class="nav__hint">Things to own</span></a></li>
<li><a class="nav__link" href="#"><span class="nav__word">Archive</span><span class="nav__hint">Ideas we dropped</span></a></li>
</ul>
</nav>
</header>
<style>
.nav {
position: sticky;
top: 0;
z-index: 30;
padding: var(--edge);
font-family: var(--font-display);
font-weight: var(--weight-bold);
}
.nav__bar {
display: flex;
align-items: center;
gap: var(--chip-gap);
}
.nav__home {
display: inline-flex;
align-items: stretch;
gap: var(--chip-gap);
min-height: var(--tap);
color: inherit;
text-decoration: none;
border-radius: var(--radius);
}
.nav__mark,
.nav__name {
display: inline-flex;
align-items: center;
border-radius: var(--radius);
background: var(--chip);
backdrop-filter: blur(var(--blur));
transition: background-color var(--fast) var(--ease);
}
.nav__mark {
justify-content: center;
width: var(--tap);
}
.nav__name {
padding: 0 0.3em;
font-size: clamp(1.5rem, 3vw, 2rem);
letter-spacing: var(--tracking);
line-height: 1;
}
.nav__home:hover .nav__mark,
.nav__home:focus-visible .nav__mark {
background: var(--lemon);
}
.nav__home:hover .nav__name,
.nav__home:focus-visible .nav__name {
background: var(--periwinkle);
}
.nav__status {
margin-left: var(--space-s);
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--blush);
font-size: var(--text-s);
line-height: 1.2;
}
.nav__toggle {
display: grid;
place-items: center;
width: var(--tap);
height: var(--tap);
margin-left: auto;
padding: 0;
border: 0;
border-radius: var(--radius);
background: var(--chip);
backdrop-filter: blur(var(--blur));
color: var(--ink);
cursor: pointer;
transition: background-color var(--fast) var(--ease);
}
.nav__toggle svg {
transition: transform var(--grow) var(--ease-grow);
}
.nav__toggle:hover {
background: var(--chip-press);
}
.nav.is-open .nav__toggle {
background: var(--mint);
}
.nav.is-open .nav__toggle svg {
transform: rotate(45deg);
}
.nav__home:focus-visible,
.nav__toggle:focus-visible,
.nav__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 2px;
}
.nav__panel {
position: absolute;
top: calc(var(--edge) + var(--tap) + var(--chip-gap));
right: var(--edge);
width: min(22rem, calc(100% - 2 * var(--edge)));
padding: var(--chip-gap);
border-radius: var(--radius-l);
background: var(--chip);
backdrop-filter: blur(var(--blur));
opacity: 0;
visibility: hidden;
transform: translateY(-6px);
transition: opacity var(--fast) var(--ease-press), transform var(--fast) var(--ease-press), visibility 0s linear var(--fast);
}
.nav.is-open .nav__panel {
opacity: 1;
visibility: visible;
transform: none;
transition-delay: 0s;
}
.nav__list {
display: grid;
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.nav__link {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-s);
min-height: 3.5rem;
padding: 0 var(--space-s) 0 var(--space-m);
border-radius: var(--radius);
background: var(--paper);
color: inherit;
text-decoration: none;
transition: background-color var(--fast) var(--ease);
}
.nav__word {
font-size: var(--text-l);
letter-spacing: var(--tracking);
}
.nav__hint {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip-solid);
font-size: var(--text-s);
transition: background-color var(--fast) var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible {
background: var(--periwinkle);
}
.nav__link:hover .nav__hint,
.nav__link:focus-visible .nav__hint {
background: var(--paper);
}
@media (max-width: 30rem) {
.nav__status {
display: none;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.nav')) {
const toggle = root.querySelector('.nav__toggle');
if (!toggle) continue;
const setOpen = (open) => {
root.classList.toggle('is-open', open);
toggle.setAttribute('aria-expanded', String(open));
toggle.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
};
toggle.addEventListener('click', () => setOpen(!root.classList.contains('is-open')));
root.addEventListener('keydown', (event) => {
if (event.key === 'Escape' && root.classList.contains('is-open')) {
setOpen(false);
toggle.focus();
}
});
}
})();
</script>
Swapping chip wordmark
Centred row of big word chips, the mark, a fixed word and a changing word, that swap words, grow to fit and change highlighter every few seconds.
Code
React For Figma<section class="hero" aria-label="Dawdle Studio">
<h1 class="hero__mark">
<span class="hero__chip hero__chip--icon" data-slot="0" aria-hidden="true">
<svg class="hero__snail" viewBox="0 0 32 32">
<path d="M3 26.5c0-1.6 1.2-2.5 3-2.5h15.5c2.2 0 3.4-1.2 4-3.6l1-5.4h2.6l-1.1 6.6c-.7 4.4-2.9 6.9-6.9 6.9H5c-1.3 0-2-.8-2-2Z" fill="currentColor"/>
<g class="hero__shell">
<circle cx="14" cy="16" r="8.4" fill="currentColor"/>
<path d="M14.4 16.4a1.6 1.6 0 1 1-1.4-2.1 3.4 3.4 0 1 1-2.6 4.6 5.4 5.4 0 1 1 9.2-3.8" fill="none" stroke="var(--paper)" stroke-width="1.5" stroke-linecap="round"/>
</g>
<g class="hero__eyes">
<path d="M27 15l-2.2-7.6M28.6 15l1.2-7.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
<circle cx="24.6" cy="6.9" r="1.4" fill="currentColor"/>
<circle cx="29.9" cy="6.6" r="1.4" fill="currentColor"/>
</g>
</svg>
</span>
<span class="hero__chip" data-slot="1"><span class="hero__window"><span class="hero__word">Dawdle</span></span></span>
<span class="hero__chip" data-slot="2"><span class="hero__window"><span class="hero__word">Studio</span></span></span>
</h1>
<ul class="hero__phrases" aria-label="What we are">
<li data-tones="chip chip periwinkle"><span>Dawdle</span> <span>Studio</span></li>
<li data-tones="lemon chip mint"><span>Slow</span> <span>Making</span></li>
<li data-tones="mint lemon periwinkle"><span>Careful</span> <span>Objects</span></li>
<li data-tones="chip periwinkle chip"><span>Patient</span> <span>Books</span></li>
<li data-tones="periwinkle chip blush"><span>Unhurried</span> <span>Rooms</span></li>
</ul>
<p class="hero__line">
<span class="hero__tag">A small design studio</span>
<span class="hero__tag">Objects, books and rooms</span>
<span class="hero__tag hero__tag--lit">Since 2019</span>
</p>
</section>
<style>
.hero {
display: grid;
place-content: center;
justify-items: center;
gap: var(--space-l);
min-height: clamp(26rem, 56vw, 44rem);
padding: var(--section-space) var(--edge);
font-family: var(--font-display);
font-weight: var(--weight-bold);
text-align: center;
}
.hero__mark {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--chip-gap);
margin: 0;
font-size: var(--display);
font-weight: var(--weight-bold);
letter-spacing: var(--tracking);
line-height: var(--leading-chip);
}
.hero__chip {
display: inline-flex;
align-items: center;
padding: 0 var(--chip-pad-x);
border-radius: var(--radius);
background: var(--tone, var(--chip));
transition: background-color var(--fast) var(--ease);
}
.hero__chip--icon {
width: 1.25em;
justify-content: center;
padding: 0;
}
.hero__snail {
width: 0.86em;
height: 0.86em;
overflow: visible;
}
.hero__eyes {
transform-origin: 27px 15px;
animation: hero-peek 2.6s var(--ease-swap) infinite;
}
@keyframes hero-peek {
0%, 70%, 100% { transform: none; }
80% { transform: rotate(-12deg) scaleY(0.82); }
}
.hero__window {
display: inline-grid;
height: calc(var(--leading-chip) * 1em);
overflow: hidden;
transition: width var(--grow) var(--ease-grow);
}
.hero__word {
grid-area: 1 / 1;
justify-self: start;
white-space: nowrap;
transition: transform var(--swap) var(--ease-swap);
}
.hero__word.is-below { transform: translateY(105%); }
.hero__word.is-above { transform: translateY(-105%); }
/* The phrases are read by people without the animation and by generations; the chips show them one at a time. */
.hero__phrases {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
margin: 0;
padding: 0;
}
.hero__line {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--chip-gap);
margin: 0;
font-size: var(--text-s);
}
.hero__tag {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip);
}
.hero__tag--lit {
background: var(--mint);
}
.hero.is-paused .hero__eyes { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
.hero__eyes { animation: none; }
}
</style>
<script>
(() => {
const still = window.matchMedia('(prefers-reduced-motion: reduce)');
for (const root of document.querySelectorAll('.hero')) {
const chips = [...root.querySelectorAll('.hero__chip')];
const phrases = [...root.querySelectorAll('.hero__phrases li')].map((item) => ({
words: [...item.querySelectorAll('span')].map((span) => span.textContent),
tones: (item.dataset.tones || '').split(' '),
}));
if (phrases.length < 2) continue;
let index = 0;
let timer = 0;
let visible = true;
const paint = (tones) => chips.forEach((chip, i) => chip.style.setProperty('--tone', `var(--${tones[i] || 'chip'})`));
const fit = (win, word) => { win.style.width = `${word.getBoundingClientRect().width}px`; };
for (const win of root.querySelectorAll('.hero__window')) fit(win, win.querySelector('.hero__word'));
document.fonts && document.fonts.ready.then(() => {
for (const win of root.querySelectorAll('.hero__window')) fit(win, win.lastElementChild);
});
const swapWord = (win, text, delay) => {
const old = win.lastElementChild;
if (old.textContent === text) return;
const next = document.createElement('span');
next.className = 'hero__word is-below';
next.textContent = text;
win.appendChild(next);
setTimeout(() => {
fit(win, next);
old.classList.add('is-above');
next.classList.remove('is-below');
setTimeout(() => old.remove(), 850);
}, delay);
};
const step = () => {
index = (index + 1) % phrases.length;
const phrase = phrases[index];
paint(phrase.tones);
root.querySelectorAll('.hero__window').forEach((win, i) => swapWord(win, phrase.words[i], 30 + i * 120));
};
const run = () => {
clearInterval(timer);
if (visible && !still.matches && !document.hidden) timer = setInterval(step, 2600);
};
paint(phrases[0].tones);
new IntersectionObserver(([entry]) => { visible = entry.isIntersecting; root.classList.toggle('is-paused', !visible); run(); }).observe(root);
document.addEventListener('visibilitychange', run);
still.addEventListener('change', run);
}
})();
</script>
Centred work stack
Project pictures of different widths stacked down the middle, shifted a little left or right, each with a name chip and a discipline chip that light up on hover.
Code
React For Figma<section class="work-stack" aria-labelledby="work-stack-title">
<h2 class="work-stack__head" id="work-stack-title">
<span class="work-stack__chip">Selected work</span>
<span class="work-stack__chip work-stack__chip--count">04</span>
</h2>
<ul class="work-stack__list">
<li class="work-stack__item" style="--w: 26rem; --shift: -6vw; --lit: var(--mint)">
<a class="work-stack__link" href="#">
<span class="work-stack__frame">
<img class="work-stack__img" src="assets/teapot.jpg" alt="A cream teapot painted with green leaves and a twig-shaped handle" width="800" height="610" loading="lazy">
</span>
<span class="work-stack__caption">
<span class="work-stack__name">Hollow Kettle Co.</span>
<span class="work-stack__kind">Packaging</span>
</span>
</a>
</li>
<li class="work-stack__item" style="--w: 21rem; --shift: 9vw; --lit: var(--periwinkle)">
<a class="work-stack__link" href="#">
<span class="work-stack__frame">
<img class="work-stack__img" src="assets/parrot-bowl.jpg" alt="A pale celadon bowl seen from above on a stand" width="800" height="754" loading="lazy">
</span>
<span class="work-stack__caption">
<span class="work-stack__name">Celadon Supper Club</span>
<span class="work-stack__kind">Identity</span>
</span>
</a>
</li>
<li class="work-stack__item" style="--w: 17rem; --shift: -3vw; --lit: var(--lemon)">
<a class="work-stack__link" href="#">
<span class="work-stack__frame">
<img class="work-stack__img" src="assets/ribbon-swatches.jpg" alt="Four black and white ribbon swatches with flower and stripe patterns" width="596" height="800" loading="lazy">
</span>
<span class="work-stack__caption">
<span class="work-stack__name">Ribbon Ledger</span>
<span class="work-stack__kind">Publishing</span>
</span>
</a>
</li>
<li class="work-stack__item" style="--w: 22rem; --shift: 5vw; --lit: var(--blush)">
<a class="work-stack__link" href="#">
<span class="work-stack__frame">
<img class="work-stack__img" src="assets/rocking-chair.jpg" alt="A bentwood rocking chair with a cane seat against a terracotta wall" width="747" height="800" loading="lazy">
</span>
<span class="work-stack__caption">
<span class="work-stack__name">Bentwood Rooms</span>
<span class="work-stack__kind">Interiors</span>
</span>
</a>
</li>
</ul>
</section>
<style>
.work-stack {
padding: var(--space-xl) var(--edge) var(--section-space);
font-family: var(--font-body);
font-weight: var(--weight-bold);
}
.work-stack__head {
display: flex;
justify-content: center;
gap: var(--chip-gap);
margin: 0 0 var(--space-xl);
font-size: var(--text-s);
font-weight: var(--weight-bold);
}
.work-stack__chip {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip);
}
.work-stack__chip--count {
background: var(--lemon);
}
.work-stack__list {
display: grid;
justify-items: center;
gap: var(--space-xl);
margin: 0;
padding: 0;
list-style: none;
}
.work-stack__item {
width: min(var(--w), 100%);
transform: translateX(var(--shift));
}
.work-stack__link {
display: grid;
gap: var(--space-s);
color: inherit;
text-decoration: none;
border-radius: var(--radius-l);
}
.work-stack__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 4px;
}
.work-stack__frame {
display: block;
overflow: hidden;
border-radius: var(--radius-l);
background: var(--chip-solid);
}
.work-stack__img {
width: 100%;
height: auto;
object-fit: cover;
transition: transform var(--pad) var(--ease-grow);
}
.work-stack__link:hover .work-stack__img,
.work-stack__link:focus-visible .work-stack__img {
transform: scale(1.03);
}
.work-stack__caption {
display: flex;
flex-wrap: wrap;
gap: var(--chip-gap);
font-size: var(--text-s);
}
.work-stack__name,
.work-stack__kind {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip);
transition: background-color var(--fast) var(--ease);
}
.work-stack__link:hover .work-stack__name,
.work-stack__link:focus-visible .work-stack__name {
background: var(--lit);
}
@media (max-width: 40rem) {
.work-stack__item {
transform: none;
width: min(var(--w), 88%);
}
.work-stack__item:nth-child(even) {
justify-self: end;
}
.work-stack__item:nth-child(odd) {
justify-self: start;
}
}
</style>
Opening reel frame
One wide picture tile with Play and Mute chips; playing opens the frame out to the page edges, pans the picture slowly and runs a progress bar.
Code
React For Figma<section class="reel" aria-label="Studio reel">
<div class="reel__frame">
<img class="reel__img" src="assets/hamamatsu.jpg" alt="A woodblock print of travellers passing a town of low roofs under a castle and pine trees" width="1200" height="894">
<div class="reel__bar" aria-hidden="true"><span class="reel__progress"></span></div>
<div class="reel__controls">
<button class="reel__button reel__button--play" type="button" aria-pressed="false">Play</button>
<button class="reel__button reel__button--mute" type="button" aria-pressed="false">Mute</button>
</div>
</div>
<p class="reel__caption">
<span class="reel__chip reel__chip--title">Reel 2027</span>
<span class="reel__chip">Forty seconds of slow work</span>
<span class="reel__chip reel__time">0:00</span>
</p>
</section>
<style>
.reel {
padding: var(--space-xl) clamp(var(--edge), 16vw, 15rem) var(--section-space);
font-family: var(--font-body);
font-weight: var(--weight-bold);
transition: padding var(--pad) var(--ease);
}
.reel.is-playing {
padding-left: var(--edge);
padding-right: var(--edge);
}
.reel__frame {
position: relative;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: var(--radius-l);
background: var(--chip-solid);
}
.reel__img {
width: 100%;
height: 100%;
object-fit: cover;
transform-origin: 30% 60%;
transform: scale(calc(1 + var(--pan, 0) * 0.14));
}
.reel__bar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: calc(var(--line) * 2);
background: var(--chip);
}
.reel__progress {
display: block;
width: 100%;
height: 100%;
background: var(--ink);
transform-origin: 0 50%;
transform: scaleX(var(--pan, 0));
}
.reel__controls {
position: absolute;
top: var(--space-s);
right: var(--space-s);
display: flex;
gap: var(--chip-gap);
}
.reel__button {
min-width: var(--tap);
min-height: var(--tap);
padding: 0 var(--space-m);
border: 0;
border-radius: var(--radius);
background: var(--chip);
backdrop-filter: blur(var(--blur));
color: var(--ink);
font: inherit;
font-size: var(--text-m);
cursor: pointer;
transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease-press);
}
.reel__button:hover {
background: var(--paper);
}
.reel__button:active {
transform: scale(0.96);
}
.reel__button:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 2px;
}
.reel__button[aria-pressed="true"] {
background: var(--mint);
}
.reel__caption {
display: flex;
flex-wrap: wrap;
gap: var(--chip-gap);
margin: var(--space-s) 0 0;
font-size: var(--text-s);
}
.reel__chip {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip);
}
.reel__chip--title {
background: var(--periwinkle);
}
.reel__time {
font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
.reel__img { transform: none; }
}
</style>
<script>
(() => {
const LENGTH = 40000;
for (const root of document.querySelectorAll('.reel')) {
const play = root.querySelector('.reel__button--play');
const mute = root.querySelector('.reel__button--mute');
const time = root.querySelector('.reel__time');
let playing = false;
let visible = true;
let elapsed = 0;
let last = 0;
let frame = 0;
const draw = () => {
root.style.setProperty('--pan', (elapsed / LENGTH).toFixed(4));
const seconds = Math.floor(elapsed / 1000);
time.textContent = `0:${String(seconds).padStart(2, '0')}`;
};
const tick = (now) => {
elapsed = (elapsed + (now - last)) % LENGTH;
last = now;
draw();
frame = requestAnimationFrame(tick);
};
const run = () => {
cancelAnimationFrame(frame);
if (playing && visible && !document.hidden) {
last = performance.now();
frame = requestAnimationFrame(tick);
}
};
play.addEventListener('click', () => {
playing = !playing;
root.classList.toggle('is-playing', playing);
play.setAttribute('aria-pressed', String(playing));
play.textContent = playing ? 'Pause' : 'Play';
run();
});
mute.addEventListener('click', () => {
const muted = mute.getAttribute('aria-pressed') !== 'true';
mute.setAttribute('aria-pressed', String(muted));
mute.textContent = muted ? 'Sound on' : 'Mute';
});
new IntersectionObserver(([entry]) => { visible = entry.isIntersecting; run(); }).observe(root);
document.addEventListener('visibilitychange', run);
draw();
}
})();
</script>
Grey index tiles
Four big grey tiles two by two, 2 px apart, each with a label at the top; on hover a tile floods with its highlighter and its second chip slides in.
Code
React For Figma<nav class="index-tiles" aria-label="Sections">
<ul class="index-tiles__grid">
<li class="index-tiles__cell" style="--lit: var(--periwinkle)">
<a class="index-tiles__tile" href="#">
<span class="index-tiles__label">About</span>
<span class="index-tiles__hint">How we work</span>
<span class="index-tiles__arrow" aria-hidden="true">↗</span>
</a>
</li>
<li class="index-tiles__cell" style="--lit: var(--mint)">
<a class="index-tiles__tile" href="#">
<span class="index-tiles__label">Work</span>
<span class="index-tiles__hint">Thirty-one projects</span>
<span class="index-tiles__arrow" aria-hidden="true">↗</span>
</a>
</li>
<li class="index-tiles__cell" style="--lit: var(--lemon)">
<a class="index-tiles__tile" href="#">
<span class="index-tiles__label">Shop</span>
<span class="index-tiles__hint">Prints and cups</span>
<span class="index-tiles__arrow" aria-hidden="true">↗</span>
</a>
</li>
<li class="index-tiles__cell" style="--lit: var(--blush)">
<a class="index-tiles__tile index-tiles__tile--picture" href="#">
<img class="index-tiles__img" src="assets/weave-theory.jpg" alt="" width="800" height="651" loading="lazy">
<span class="index-tiles__label">Archive</span>
<span class="index-tiles__hint">Ideas we dropped</span>
<span class="index-tiles__arrow" aria-hidden="true">↗</span>
</a>
</li>
</ul>
</nav>
<style>
.index-tiles {
padding: var(--space-xl) var(--edge) var(--section-space);
font-family: var(--font-display);
font-weight: var(--weight-bold);
}
.index-tiles__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.index-tiles__tile {
position: relative;
display: block;
height: clamp(9rem, 22vw, 18rem);
overflow: hidden;
padding: var(--space-s);
border-radius: var(--radius-l);
background: var(--chip-solid);
color: inherit;
text-decoration: none;
transition: background-color var(--fast) var(--ease);
}
.index-tiles__tile:hover,
.index-tiles__tile:focus-visible {
background: var(--lit);
}
.index-tiles__tile:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 2px;
}
.index-tiles__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(1) contrast(1.2);
mix-blend-mode: multiply;
opacity: 0;
transform: scale(1.04);
transition: opacity var(--grow) var(--ease-grow), transform var(--pad) var(--ease-grow);
}
.index-tiles__tile:hover .index-tiles__img,
.index-tiles__tile:focus-visible .index-tiles__img {
opacity: 0.5;
transform: none;
}
.index-tiles__label {
position: relative;
display: block;
font-size: var(--text-l);
letter-spacing: var(--tracking);
line-height: 1.1;
}
.index-tiles__hint {
position: relative;
display: inline-block;
margin-top: var(--space-xs);
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--paper);
font-family: var(--font-body);
font-size: var(--text-s);
opacity: 0;
transform: translateY(6px);
transition: opacity var(--fast) var(--ease-press), transform var(--grow) var(--ease-grow);
}
.index-tiles__tile:hover .index-tiles__hint,
.index-tiles__tile:focus-visible .index-tiles__hint {
opacity: 1;
transform: none;
}
.index-tiles__arrow {
position: absolute;
right: var(--space-s);
bottom: var(--space-s);
display: grid;
place-items: center;
width: 2rem;
height: 2rem;
border-radius: var(--radius);
background: var(--chip);
font-size: var(--text-m);
transition: transform var(--grow) var(--ease-grow);
}
.index-tiles__tile:hover .index-tiles__arrow,
.index-tiles__tile:focus-visible .index-tiles__arrow {
transform: translate(2px, -2px);
}
/* Phones have no hover: the second chip shows at rest. */
@media (hover: none) {
.index-tiles__hint {
opacity: 1;
transform: none;
}
}
</style>
Frosted letter panel
A see-through grey panel with a short line, an email chip field and a pair of answer chips, then chip link rows and the chip wordmark at the foot.
Code
React For Figma<footer class="footer">
<form class="footer__panel" action="#" novalidate>
<p class="footer__lead">Letters from the slow lane: four a year, never more, with what we made and what we gave up on.</p>
<label class="footer__field">
<span class="footer__label">Email</span>
<input class="footer__input" type="email" name="email" placeholder="you@example.com" autocomplete="email" required>
</label>
<div class="footer__answers">
<button class="footer__send" type="submit">Send them</button>
<button class="footer__skip" type="reset">No thanks</button>
</div>
<p class="footer__done" role="status"></p>
</form>
<div class="footer__links">
<ul class="footer__row" aria-label="Studio">
<li><a class="footer__link" href="#">About</a></li>
<li><a class="footer__link" href="#">Work</a></li>
<li><a class="footer__link" href="#">Shop</a></li>
<li><a class="footer__link" href="#">Archive</a></li>
</ul>
<ul class="footer__row" aria-label="Elsewhere">
<li><a class="footer__link" href="#">Newsletter</a></li>
<li><a class="footer__link" href="#">Instagram</a></li>
<li><a class="footer__link" href="#">hello@dawdle.example</a></li>
</ul>
</div>
<div class="footer__sign">
<span class="footer__mark" aria-hidden="true">
<svg viewBox="0 0 32 32">
<path d="M3 26.5c0-1.6 1.2-2.5 3-2.5h15.5c2.2 0 3.4-1.2 4-3.6l1-5.4h2.6l-1.1 6.6c-.7 4.4-2.9 6.9-6.9 6.9H5c-1.3 0-2-.8-2-2Z" fill="currentColor"/>
<circle cx="14" cy="16" r="8.4" fill="currentColor"/>
<path d="M14.4 16.4a1.6 1.6 0 1 1-1.4-2.1 3.4 3.4 0 1 1-2.6 4.6 5.4 5.4 0 1 1 9.2-3.8" fill="none" stroke="var(--paper)" stroke-width="1.5" stroke-linecap="round"/>
<path d="M27 15l-2.2-7.6M28.6 15l1.2-7.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
<circle cx="24.6" cy="6.9" r="1.4" fill="currentColor"/>
<circle cx="29.9" cy="6.6" r="1.4" fill="currentColor"/>
</svg>
</span>
<span class="footer__name">Dawdle</span>
<span class="footer__fine">Studio · 2027</span>
</div>
</footer>
<style>
.footer {
display: grid;
gap: var(--space-xl);
padding: var(--section-space) var(--edge) var(--edge);
font-family: var(--font-body);
font-weight: var(--weight-bold);
}
.footer__panel {
justify-self: center;
display: grid;
gap: var(--space-s);
width: min(25rem, 100%);
margin: 0;
padding: var(--space-s);
border-radius: var(--radius-l);
background: var(--chip);
backdrop-filter: blur(var(--blur));
font-size: var(--text-s);
line-height: 1.3;
}
.footer__lead {
margin: 0;
padding: var(--space-xs);
}
.footer__field {
display: grid;
}
.footer__label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.footer__input {
min-height: var(--tap);
padding: 0 var(--space-s);
border: 0;
border-radius: var(--radius);
background: var(--paper);
color: var(--ink);
font: inherit;
font-size: var(--text-m);
}
.footer__input::placeholder {
color: var(--ink-mute);
}
.footer__input:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 0;
}
.footer.is-wrong .footer__input {
background: var(--blush);
}
.footer__answers {
display: flex;
gap: var(--chip-gap);
}
.footer__send,
.footer__skip {
min-height: var(--tap);
padding: 0 var(--space-m);
border: 0;
border-radius: var(--radius);
font: inherit;
font-size: var(--text-m);
cursor: pointer;
transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.footer__send {
background: var(--paper);
color: var(--ink);
}
.footer__send:hover {
background: var(--periwinkle);
}
.footer__skip {
background: transparent;
color: var(--ink-mute);
}
.footer__skip:hover {
color: var(--ink);
}
.footer__send:focus-visible,
.footer__skip:focus-visible,
.footer__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 2px;
}
.footer__done {
display: none;
margin: 0;
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--mint);
font-size: var(--text-m);
}
.footer.is-sent .footer__done {
display: block;
}
.footer.is-sent .footer__field,
.footer.is-sent .footer__answers {
display: none;
}
.footer__links {
display: grid;
gap: var(--chip-gap);
justify-items: center;
}
.footer__row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--chip-gap);
margin: 0;
padding: 0;
list-style: none;
}
.footer__link {
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border-radius: var(--radius);
background: var(--chip);
color: inherit;
text-decoration: none;
transition: background-color var(--fast) var(--ease);
}
.footer__link:hover {
background: var(--lemon);
}
.footer__sign {
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: var(--chip-gap);
font-family: var(--font-display);
}
.footer__mark,
.footer__name {
display: inline-flex;
align-items: center;
border-radius: var(--radius);
background: var(--chip);
}
.footer__mark {
justify-content: center;
width: clamp(3.5rem, 12vw, 9rem);
background: var(--lemon);
}
.footer__mark svg {
width: 62%;
height: auto;
}
.footer__name {
padding: 0 var(--chip-pad-x);
font-size: clamp(3rem, 15vw, 12rem);
letter-spacing: var(--tracking);
line-height: 1.05;
}
.footer__fine {
align-self: flex-end;
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius);
background: var(--chip);
font-family: var(--font-body);
font-size: var(--text-s);
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.footer')) {
const form = root.querySelector('.footer__panel');
const input = root.querySelector('.footer__input');
const done = root.querySelector('.footer__done');
if (!form || !input) continue;
form.addEventListener('submit', (event) => {
event.preventDefault();
if (!input.checkValidity()) {
root.classList.add('is-wrong');
input.focus();
return;
}
root.classList.remove('is-wrong');
root.classList.add('is-sent');
done.textContent = 'Lovely. The first letter comes in spring.';
});
form.addEventListener('reset', () => {
root.classList.remove('is-wrong');
root.classList.add('is-sent');
done.textContent = 'No letters, then. The door stays open.';
});
input.addEventListener('input', () => root.classList.remove('is-wrong'));
}
})();
</script>
Style
- --ink #000000
- --paper #ffffff
- --chip rgba(235, 235, 235, 0.7)
- --chip-solid #ebebeb
- --chip-press #dedede
- --periwinkle #b8c8ff
- --mint #a5ff93
- --lemon #f8ff7b
- --blush #ffd0c8
- --ink-mute rgba(0, 0, 0, 0.45)
- --veil rgba(255, 255, 255, 0.72)
Type
- Inter Tight for wordmark chips and headings, stands in for the studio's own neo-grotesk at semibold, tightly tracked, set at 72 px on a 90 px line
- Inter Tight for caption chips and running text, stands in for the same grotesk at small sizes in medium and semibold
Motion
- The wordmark chips swap their words every 2.6 s: the old word slides up and out, the next slides up from below in 800 ms on cubic-bezier(0.85, 0.02, 0.07, 1).
- A chip grows or shrinks to its new word in 300 ms on cubic-bezier(0.03, 0.71, 0.31, 1) and changes highlighter colour in 150 ms.
- Grey chips turn a highlighter colour on hover in 150 ms; nothing lifts or casts a shadow.
- The reel frame opens out by easing its padding over 600 ms when played.
- The nav's plus button turns 45 degrees into a cross in 300 ms and drops a frosted panel of chip links.
Rules
- Every word that matters is a chip: a box hugging the word with 0.33 rem corners, grey at 70 % by default, never outlined.
- Four flat highlighters (periwinkle, mint, lemon, blush) are the only colours; they mark the active word, the hover and the state, never a whole section.
- The page is white and nearly empty; things sit in the centre of the screen one at a time with large air around them.
- One grotesk in semibold for everything, tight tracking at display size, no italics, no caps.
- Chips in a row sit 0.3 rem apart; tiles in a grid sit 2 px apart.
- Pictures are hard-cropped tiles with 0.66 rem corners, captions sit under them as two small chips: name, then discipline.
- The mark is a small black drawn creature in its own chip, always to the left of the name chip.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700&display=swap");
:root {
/* Colour */
--ink: #000000; /* all text, icons and the snail mark */
--paper: #ffffff; /* page background */
--chip: rgba(235, 235, 235, 0.7); /* default word chip and panel ground, see-through grey */
--chip-solid: #ebebeb; /* grey tile ground where nothing sits behind */
--chip-press: #dedede; /* grey chip on hover and press */
--periwinkle: #b8c8ff; /* first highlighter: the lead word, active state */
--mint: #a5ff93; /* second highlighter: the changing word, success */
--lemon: #f8ff7b; /* third highlighter: the mark chip, hover */
--blush: #ffd0c8; /* fourth highlighter: notices and status */
--ink-mute: rgba(0, 0, 0, 0.45); /* the quiet second option, fine print */
--veil: rgba(255, 255, 255, 0.72); /* frosted bar behind the nav */
/* Type */
--font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* wordmark chips and headings */
--font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* captions, labels and running text */
--weight-body: 500; /* running text */
--weight-bold: 600; /* every chip word */
--tracking: -0.02em; /* tight tracking on big chip words */
--text-s: 0.8125rem; /* caption chips */
--text-m: 1rem; /* running text */
--text-l: clamp(1.25rem, 2.2vw, 1.75rem); /* tile labels */
--display: clamp(2.5rem, 7vw, 5.25rem); /* the chip wordmark */
--leading-chip: 1.25; /* line height inside a chip, 90 over 72 */
/* Space */
--gap: 2px; /* between neighbouring tiles */
--chip-gap: 0.3rem; /* between word chips in a row */
--chip-pad-y: 0.1em; /* chip padding above and below the word */
--chip-pad-x: 0.18em; /* chip padding left and right of the word */
--space-xs: 0.25rem; /* inside small chips */
--space-s: 0.5rem; /* between a tile and its captions */
--space-m: 1rem; /* inside panels */
--space-l: 1.5rem; /* between groups */
--space-xl: 2.5rem; /* between tiles in the work stack */
--edge: clamp(0.5rem, 1.2vw, 1rem); /* side padding of a section, kept tiny */
--section-space: clamp(4rem, 10vw, 8rem); /* air above and below a section */
/* Shape */
--radius: 0.33rem; /* chips, buttons, fields */
--radius-l: 0.66rem; /* tiles, panels, pictures */
--line: 1.5px; /* the only rule weight: focus rings and the progress bar */
--shadow: none; /* nothing casts a shadow */
--blur: 6px; /* frosted panels */
--tap: 44px; /* smallest square button */
/* Motion */
--fast: 150ms; /* colour and fill changes */
--grow: 300ms; /* chips growing to fit a new word */
--swap: 800ms; /* a word sliding out and the next sliding in */
--pad: 600ms; /* a frame opening its padding */
--ease: ease; /* colour fades */
--ease-grow: cubic-bezier(0.03, 0.71, 0.31, 1); /* a fast start that settles slowly */
--ease-swap: cubic-bezier(0.85, 0.02, 0.07, 1); /* a slow start, a snap, a slow stop */
--ease-press: cubic-bezier(0.66, 0, 0.42, 1); /* small transforms on press */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--weight-body) var(--text-m)/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("highlighter-word-chips"), 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