Sketch footer
A crayon lighthouse draws itself in above the contact lines with copy buttons, an address and a live local clock.
Part of the style
Crayon Sketch Serif
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/crayon-sketch-serif/footer/figma.html
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/crayon-sketch-serif/footer/figma.html and pass that whole HTML document to the html_to_figma tool, so the part "Sketch 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
<footer class="footer">
<svg class="footer__sketch" viewBox="0 0 240 280" role="img" aria-label="A crayon sketch of a striped lighthouse on rocks, with a gull and small waves">
<defs>
<filter id="footer-crayon" x="-5%" y="-5%" width="110%" height="110%">
<feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" seed="9" result="grain"/>
<feDisplacementMap in="SourceGraphic" in2="grain" scale="2.2" xChannelSelector="R" yChannelSelector="G"/>
</filter>
</defs>
<g filter="url(#footer-crayon)" fill="none" stroke-linecap="round" stroke-linejoin="round">
<!-- lantern -->
<path class="footer__line" style="--n:0" stroke="var(--crayon-red)" stroke-width="2" pathLength="1" d="M106 40 L120 26 L134 40 Z"/>
<path class="footer__line" style="--n:1" stroke="var(--crayon-grey)" stroke-width="1.4" pathLength="1" d="M108 40 L108 60 L132 60 L132 40 M114 42 L114 58 M120 42 L120 58 M126 42 L126 58"/>
<path class="footer__line" style="--n:2" stroke="var(--crayon-yellow)" stroke-width="1.6" pathLength="1" d="M96 48 L72 42 M96 52 L70 56 M144 48 L168 42 M144 52 L170 56"/>
<path class="footer__line" style="--n:3" stroke="var(--crayon-grey)" stroke-width="1.4" pathLength="1" d="M100 60 L140 60 L140 66 L100 66 Z"/>
<!-- tower -->
<path class="footer__line" style="--n:4" stroke="var(--crayon-tan)" stroke-width="1.8" pathLength="1" d="M104 66 L94 214 M136 66 L146 214"/>
<path class="footer__line" style="--n:5" stroke="var(--crayon-red)" stroke-width="3.2" pathLength="1" d="M103 84 C 112 82, 128 82, 137 84 M101 88 C 112 86, 128 86, 139 88"/>
<path class="footer__line" style="--n:6" stroke="var(--crayon-red)" stroke-width="3.2" pathLength="1" d="M100 124 C 112 122, 128 122, 141 124 M99 128 C 112 126, 128 126, 141 128"/>
<path class="footer__line" style="--n:7" stroke="var(--crayon-red)" stroke-width="3.2" pathLength="1" d="M97 166 C 112 164, 128 164, 144 166 M96 170 C 112 168, 128 168, 144 170"/>
<path class="footer__line" style="--n:8" stroke="var(--crayon-grey)" stroke-width="1.3" pathLength="1" d="M118 100 l0 10 M122 100 l0 10 M117 142 l0 10 M123 142 l0 10 M114 192 c0 -10 12 -10 12 0 l0 22 M114 192 l0 22"/>
<!-- rocks and waves -->
<path class="footer__line" style="--n:9" stroke="var(--crayon-grey)" stroke-width="1.6" pathLength="1" d="M62 230 C 70 212, 90 210, 98 214 L 150 214 C 162 208, 178 214, 186 230"/>
<path class="footer__line" style="--n:10" stroke="var(--crayon-blue)" stroke-width="1.8" pathLength="1" d="M20 240 c10 -6 18 6 28 0 s18 6 28 0 s18 6 28 0 s18 6 28 0 s18 6 28 0 s18 6 28 0 s18 6 28 0"/>
<path class="footer__line" style="--n:11" stroke="var(--crayon-blue)" stroke-width="1.2" pathLength="1" d="M44 256 c10 -5 18 5 28 0 s18 5 28 0 s18 5 28 0 s18 5 28 0 s18 5 28 0"/>
<!-- gull and a green tuft -->
<path class="footer__line" style="--n:12" stroke="var(--crayon-blue)" stroke-width="1.6" pathLength="1" d="M172 92 q6 -7 12 0 q6 -7 13 -1"/>
<path class="footer__line" style="--n:13" stroke="var(--crayon-green)" stroke-width="1.5" pathLength="1" d="M168 216 l-4 -12 M172 216 l1 -14 M176 216 l5 -11"/>
</g>
</svg>
<p class="footer__ask">Tell us what you are making.</p>
<ul class="footer__contacts">
<li class="footer__contact">
<a class="footer__mail" href="#">hello@bramble.example</a>
<button class="footer__copy" type="button" data-copy="hello@bramble.example" aria-label="Copy the address for new work">
<svg viewBox="0 0 16 16" aria-hidden="true"><rect x="5" y="5" width="8" height="9" rx="1.6" fill="none" stroke="currentColor" stroke-width="1.2"/><path d="M3.5 10.5 V3.6 C3.5 2.7 4.2 2 5.1 2 H10" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>
<span class="footer__copied" aria-live="polite"></span>
</button>
<span class="footer__for">for new work</span>
</li>
<li class="footer__contact">
<a class="footer__mail" href="#">jobs@bramble.example</a>
<button class="footer__copy" type="button" data-copy="jobs@bramble.example" aria-label="Copy the address for jobs">
<svg viewBox="0 0 16 16" aria-hidden="true"><rect x="5" y="5" width="8" height="9" rx="1.6" fill="none" stroke="currentColor" stroke-width="1.2"/><path d="M3.5 10.5 V3.6 C3.5 2.7 4.2 2 5.1 2 H10" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>
<span class="footer__copied" aria-live="polite"></span>
</button>
<span class="footer__for">for jobs</span>
</li>
</ul>
<p class="footer__address">12 Rua das Flores, Lisbon, above the old bakery.</p>
<div class="footer__strip">
<span class="footer__clock" data-zone="Europe/Lisbon">Lisbon <time class="footer__time">9:41 AM</time> 18°</span>
<span class="footer__motto">Gardens, type & slow tools.</span>
</div>
</footer>
<style>
.footer {
display: grid;
justify-items: center;
gap: var(--space-m);
padding: var(--space-l) var(--edge) var(--space-m);
color: var(--ink);
text-align: center;
}
.footer__sketch { width: min(240px, 60vw); height: auto; aspect-ratio: 240 / 280; }
.footer__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.footer.is-seen .footer__line {
animation: footer-draw var(--draw) var(--ease) forwards;
animation-delay: calc(var(--n) * 120ms);
}
@keyframes footer-draw { to { stroke-dashoffset: 0; } }
.footer__ask,
.footer__address { margin: 0; font-size: var(--text-m); line-height: var(--leading); }
.footer__contacts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.footer__contact {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
column-gap: 2px;
font-size: var(--text-m);
line-height: var(--leading);
}
.footer__mail {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.footer__mail:hover { color: var(--ink-soft); }
.footer__copy {
position: relative;
display: grid;
place-items: center;
width: 44px;
height: 44px;
margin-inline: -8px -4px;
border: 0;
border-radius: var(--radius-pill);
background: none;
color: var(--ink);
cursor: pointer;
}
.footer__copy svg { width: 16px; height: 16px; transition: transform var(--quick) var(--ease); }
.footer__copy:active svg { transform: scale(0.88); }
.footer__copy:focus-visible { outline: var(--rule) solid var(--ink); outline-offset: -6px; }
.footer__copied {
position: absolute;
bottom: calc(100% - 4px);
left: 50%;
translate: -50% 4px;
padding: 2px 8px;
border-radius: var(--radius-pill);
background: var(--ink);
color: var(--paper);
font-size: var(--text-s);
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
}
.footer__copy.is-copied .footer__copied { opacity: 1; translate: -50% 0; }
.footer__for { color: var(--ink); }
.footer__strip {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-s);
width: 100%;
margin-top: var(--space-l);
padding-top: var(--space-m);
color: var(--ink-soft);
font-family: var(--font-body);
font-size: var(--text-s);
font-weight: 400;
}
.footer__time { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
.footer__strip { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
.footer__line, .footer.is-seen .footer__line { animation: none; stroke-dashoffset: 0; }
}
</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.15 });
for (const root of document.querySelectorAll('.footer')) {
seen.observe(root);
for (const button of root.querySelectorAll('.footer__copy')) {
const note = button.querySelector('.footer__copied');
button.addEventListener('click', async () => {
try { await navigator.clipboard.writeText(button.dataset.copy); note.textContent = 'Copied'; }
catch { note.textContent = button.dataset.copy; }
button.classList.add('is-copied');
clearTimeout(button._timer);
button._timer = setTimeout(() => button.classList.remove('is-copied'), 1600);
});
}
const clock = root.querySelector('.footer__clock');
const time = root.querySelector('.footer__time');
if (clock && time) {
const format = new Intl.DateTimeFormat('en-US', { hour: 'numeric', minute: '2-digit', timeZone: clock.dataset.zone });
const tick = () => { time.textContent = format.format(new Date()); };
tick();
setInterval(tick, 30000);
}
}
})();
</script>