Poke button footer
A button that does nothing but wake a row of drawn cloud creatures who squeak and hop, above a footer of links and the wordmark.
Part of the style
Cloud Sky Artboard
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/cloud-sky-artboard/poke/figma.html?palette=bf34bb2c04e7cb2b
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/cloud-sky-artboard/poke/figma.html?palette=bf34bb2c04e7cb2b and pass that whole HTML document to the html_to_figma tool, so the part "Poke button footer" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--ink: #fdf2ef;
--night: #090503;
--paper: #161514;
--paper-soft: #161514;
--paper-glass: rgba(22, 21, 20, 0.55);
--sky-mid: #424140;
--cloud: rgba(22, 21, 20, 0.85);
--flame-soft: #161514;
--flame: #84755e;
--select: #84755e;
--ink-mute: #6e6b66;
--ink-soft: #898680;
--night-line: #47433e;
--sky-low: #706c65;
--sky-top: #7a6e5d;
--live: #796953;
--note: #796953;
}
</style>
<section class="poke">
<div class="poke__stage">
<p class="poke__label">this button does absolutely nothing</p>
<ul class="poke__crowd" aria-hidden="true">
<li class="poke__buddy poke__buddy--a">
<span class="poke__say">hey!</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M44 44 Q50 48 56 44" />
</svg>
</li>
<li class="poke__buddy poke__buddy--b">
<span class="poke__say">rude.</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M42 43 Q50 51 58 43 Z" />
</svg>
</li>
<li class="poke__buddy poke__buddy--c">
<span class="poke__say">eep</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<ellipse class="poke__mouth poke__mouth--o" cx="50" cy="45" rx="3" ry="3.6" />
</svg>
</li>
<li class="poke__buddy poke__buddy--d">
<span class="poke__say">again??</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M44 44 Q50 48 56 44" />
</svg>
</li>
<li class="poke__buddy poke__buddy--e">
<span class="poke__say">ow</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M42 43 Q50 51 58 43 Z" />
</svg>
</li>
</ul>
<button class="poke__button" type="button">Please don't press <span class="poke__count" aria-live="polite">0</span></button>
<p class="poke__hint">The little ones startle easily. Press anyway.</p>
</div>
<footer class="poke__footer">
<p class="poke__word">Halyard<span>.</span></p>
<nav class="poke__cols" aria-label="Footer">
<div class="poke__col"><p class="poke__head">studio</p><a href="#">About</a><a href="#">Work</a><a href="#">Journal</a></div>
<div class="poke__col"><p class="poke__head">hire us</p><a href="#">Pricing</a><a href="#">Book a call</a><a href="#">hello@halyard.studio</a></div>
<div class="poke__col"><p class="poke__head">elsewhere</p><a href="#">Dribbble</a><a href="#">Read.cv</a><a href="#">Instagram</a></div>
</nav>
<p class="poke__fine"><span>© 2027 Halyard studio</span><span>made under a big sky · v4.2</span></p>
</footer>
</section>
<style>
.poke {
padding: var(--section-space) var(--edge) var(--space-l);
}
.poke__stage {
display: grid;
justify-items: center;
max-width: 860px;
margin: 0 auto var(--section-space);
padding: clamp(24px, 4vw, 48px) var(--space-m);
border: var(--line) dashed var(--select);
border-radius: var(--radius-l);
background: var(--paper-glass);
text-align: center;
}
.poke__label {
margin: 0 0 var(--space-l);
font: 700 var(--mono-s) / 1.4 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink);
}
.poke__crowd {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: clamp(4px, 1.4vw, 18px);
margin: 0 0 var(--space-m);
padding: 34px 0 0;
list-style: none;
}
.poke__buddy {
position: relative;
width: clamp(56px, 11vw, 100px);
animation: poke-float 3.2s ease-in-out infinite;
animation-delay: calc(var(--i, 0) * -0.6s);
}
.poke:not(.is-live) .poke__buddy { animation-play-state: paused; }
@keyframes poke-float { 50% { translate: 0 -6px; } }
.poke__body {
width: 100%;
height: auto;
overflow: visible;
transform-origin: 50% 100%;
transition: scale var(--lift) var(--ease-pop);
}
.poke__buddy:hover .poke__body { scale: 1.08 0.9; }
.poke__puff { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.poke__buddy--b .poke__puff { fill: var(--flame); }
.poke__buddy--c .poke__puff { fill: var(--sky-low); }
.poke__buddy--d .poke__puff { fill: var(--note); }
.poke__buddy--e .poke__puff { fill: var(--ink); }
.poke__eye { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: poke-blink 4s infinite; }
.poke__buddy--e .poke__eye, .poke__buddy--e .poke__mouth { fill: var(--paper); stroke: var(--paper); }
.poke:not(.is-live) .poke__eye { animation-play-state: paused; }
@keyframes poke-blink { 0%, 92%, 100% { scale: 1 1; } 95% { scale: 1 0.1; } }
.poke__cheek { fill: var(--flame); opacity: 0.45; }
.poke__buddy--b .poke__cheek { fill: var(--paper); }
.poke__mouth { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.poke__mouth--o { fill: var(--ink); }
.poke__say {
position: absolute;
bottom: 100%;
left: 50%;
padding: 3px 8px;
border-radius: var(--radius-m) var(--radius-m) var(--radius-m) 2px;
background: var(--ink);
color: var(--paper);
font: 700 var(--mono-xs) / 1.4 var(--font-mono);
white-space: nowrap;
opacity: 0;
translate: -20% 6px;
transition: opacity var(--quick) ease, translate var(--lift) var(--ease-pop);
pointer-events: none;
}
.poke__buddy.is-startled { animation: poke-hop 520ms var(--ease-pop); }
.poke__buddy.is-startled .poke__say { opacity: 1; translate: -20% -4px; }
@keyframes poke-hop {
30% { translate: 0 -22px; rotate: -6deg; }
60% { translate: 0 0; rotate: 4deg; }
}
.poke__button {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: 56px;
padding: 0 28px;
border: 0;
border-radius: var(--pill);
background: var(--ink);
box-shadow: 0 6px 0 var(--flame), var(--shadow-card);
color: var(--paper);
font: 600 var(--text-m) / 1 var(--font-body);
cursor: pointer;
transition: translate var(--quick) var(--ease-pop), box-shadow var(--quick) var(--ease-pop);
}
.poke__button:hover { translate: 0 -2px; box-shadow: 0 8px 0 var(--flame), var(--shadow-card); }
.poke__button:active { translate: 0 5px; box-shadow: 0 1px 0 var(--flame), var(--shadow-card); }
.poke__button:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 4px; }
.poke__count {
min-width: 26px;
padding: 3px 6px;
border-radius: var(--pill);
background: var(--flame);
font: 700 var(--mono-s) / 1.2 var(--font-mono);
}
.poke__hint { margin: var(--space-m) 0 0; font-size: var(--text-s); color: var(--ink-soft); }
.poke__footer {
max-width: 1220px;
margin: 0 auto;
padding: clamp(24px, 3vw, 40px);
border-radius: var(--radius-l);
background: var(--night);
color: var(--paper);
}
.poke__word {
margin: 0 0 var(--space-l);
font: 800 clamp(3.4rem, 12vw, 10rem) / 0.8 var(--font-display);
font-stretch: 75%;
letter-spacing: -0.05em;
text-transform: uppercase;
}
.poke__word span { color: var(--flame); }
.poke__cols {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
padding: var(--space-l) 0;
border-block: var(--line) solid var(--night-line);
}
.poke__col { display: grid; align-content: start; }
.poke__head {
margin: 0 0 6px;
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink-mute);
}
.poke__col a {
display: flex;
align-items: center;
min-height: var(--tap);
color: var(--paper);
font-size: var(--text-s);
text-decoration: none;
overflow-wrap: anywhere;
}
.poke__col a:hover { color: var(--flame); }
.poke__col a:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }
.poke__fine {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-s);
margin: var(--space-m) 0 0;
font: 400 var(--mono-xs) / 1.4 var(--font-mono);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--ink-mute);
}
@media (max-width: 600px) {
.poke__cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.poke__buddy, .poke__eye { animation: none; }
.poke__buddy.is-startled { animation: none; }
}
</style>
<script>
(() => {
const live = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-live', entry.isIntersecting);
});
for (const root of document.querySelectorAll('.poke')) {
live.observe(root);
const buddies = [...root.querySelectorAll('.poke__buddy')];
buddies.forEach((buddy, i) => buddy.style.setProperty('--i', i));
const count = root.querySelector('.poke__count');
let pokes = 0;
const startle = (buddy, delay) => {
setTimeout(() => {
buddy.classList.remove('is-startled');
void buddy.offsetWidth;
buddy.classList.add('is-startled');
clearTimeout(buddy._quiet);
buddy._quiet = setTimeout(() => buddy.classList.remove('is-startled'), 1400);
}, delay);
};
root.querySelector('.poke__button').addEventListener('click', () => {
pokes += 1;
count.textContent = pokes;
buddies.forEach((buddy, i) => startle(buddy, i * 70));
});
buddies.forEach((buddy) => buddy.addEventListener('pointerdown', () => startle(buddy, 0)));
}
})();
</script>