Footer
Plum footer with address, underlined social links and a thick-bordered sign-up form that validates in place, closed by an oversized wordmark that rises on scroll and is cut off by the page edge.
Part of the style
Wood Type Playbill
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/wood-type-playbill/footer/figma.html
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/wood-type-playbill/footer/figma.html and pass that whole HTML document to the html_to_figma tool, so the part "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">
<div class="footer__top">
<div class="footer__about">
<p class="footer__name">Holler Press</p>
<address class="footer__address">
14 Tannery Lane, Unit 4<br />
Eastside, Portside 02040<br />
<a class="footer__phone" href="tel:+15550102040">(555) 010-2040</a>
</address>
<ul class="footer__social">
<li><a class="footer__social-link" href="#">Instagram</a></li>
<li><a class="footer__social-link" href="#">Bluesky</a></li>
<li><a class="footer__social-link" href="#">YouTube</a></li>
<li><a class="footer__social-link" href="#">Are.na</a></li>
</ul>
</div>
<form class="footer__form" novalidate>
<p class="footer__pitch">Be the first to hear about new editions, workshops and open calls from Holler.</p>
<label class="footer__field">
<span class="footer__label">* Email</span>
<input class="footer__input" type="email" name="email" autocomplete="email" required />
</label>
<label class="footer__field">
<span class="footer__label">* First name</span>
<input class="footer__input" type="text" name="first-name" autocomplete="given-name" required />
</label>
<button class="footer__submit" type="submit">Sign me up</button>
<p class="footer__status" role="status"></p>
<a class="footer__fine" href="#">Or keep the presses turning with a one-off gift.</a>
</form>
</div>
<div class="footer__wordmark" aria-hidden="true">
<svg class="footer__type" viewBox="3 0 388 60.4" preserveAspectRatio="none" focusable="false">
<text x="0" y="59.4" textLength="390.8" lengthAdjust="spacingAndGlyphs">HOLLER</text>
</svg>
</div>
</footer>
<style>
.footer {
background: var(--plum);
color: var(--ink);
overflow: hidden;
}
.footer__top {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--space-xl) var(--gap);
padding: var(--section-space) var(--edge) var(--space-xl);
}
.footer__name,
.footer__pitch {
margin: 0;
font-size: var(--text-l);
font-weight: 800;
line-height: 1.2;
}
.footer__address {
font-style: normal;
line-height: 1.4;
}
.footer__phone {
display: inline-flex;
align-items: center;
min-height: var(--tap);
color: inherit;
text-decoration: none;
}
.footer__social {
display: flex;
flex-wrap: wrap;
gap: 0 var(--space-s);
margin: var(--space-m) 0 0;
padding: 0;
list-style: none;
}
.footer__social-link,
.footer__fine {
display: inline-flex;
align-items: center;
min-height: var(--tap);
color: inherit;
font-weight: 800;
text-decoration: underline 2px currentColor;
text-underline-offset: 0.22em;
transition: text-decoration-color var(--time) var(--ease);
}
.footer__social-link:hover,
.footer__social-link:focus-visible,
.footer__fine:hover,
.footer__fine:focus-visible {
text-decoration-color: transparent;
}
.footer__form {
display: grid;
gap: var(--space-m);
justify-items: start;
}
.footer__field {
display: grid;
gap: var(--space-xs);
width: 100%;
}
.footer__label {
font-size: var(--text-xs);
font-weight: 700;
line-height: 1;
}
.footer__input {
width: 100%;
min-height: var(--tap);
padding: 0 var(--space-s);
border: var(--rule-thick) solid var(--ink);
border-radius: var(--radius-field);
background: transparent;
color: var(--ink);
font: inherit;
font-weight: 700;
letter-spacing: inherit;
transition: background var(--time) var(--ease);
}
.footer__input:focus {
outline: none;
background: color-mix(in srgb, var(--page) 55%, transparent);
}
.footer__input[aria-invalid="true"] {
border-style: dashed;
}
.footer__submit {
min-height: calc(var(--tap) + var(--space-xs));
padding: var(--space-xs) var(--space-l);
border: 0;
border-radius: var(--radius-button);
background: var(--ink);
color: var(--page);
font: inherit;
font-weight: 800;
letter-spacing: inherit;
cursor: pointer;
transition: background var(--time) var(--ease), color var(--time) var(--ease);
}
.footer__submit:hover,
.footer__submit:focus-visible {
background: var(--page);
color: var(--ink);
}
.footer__status {
margin: 0;
font-weight: 800;
}
.footer__status:empty {
display: none;
}
.footer__fine {
font-size: var(--text-xs);
text-decoration-thickness: 1px;
}
.footer :focus-visible {
outline: var(--rule-thick) solid var(--ink);
outline-offset: 4px;
}
/* The closing wordmark is wider than the page and cut off by its bottom edge. It rises into place as the footer scrolls in. */
.footer__wordmark {
aspect-ratio: 388 / calc(60.4 * var(--display-stretch) * 0.78);
margin: var(--space-xl) -1.5% 0;
view-timeline: --footer-rise block;
}
.footer__type {
display: block;
width: 100%;
aspect-ratio: 388 / calc(60.4 * var(--display-stretch));
fill: currentColor;
font: 900 100px var(--font-display);
}
@keyframes footer-rise {
from {
translate: 0 38%;
}
}
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.footer__type {
animation: footer-rise linear both;
animation-timeline: --footer-rise;
animation-range: entry 0% entry 100%;
}
}
}
@media (max-width: 56rem) {
.footer__top {
grid-template-columns: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
.footer__social-link,
.footer__fine,
.footer__input,
.footer__submit {
transition-duration: 0s;
}
}
</style>
<script>
(() => {
const markValidity = (input) => {
const valid = input.checkValidity();
input.setAttribute("aria-invalid", String(!valid));
return valid;
};
const setUpForm = (form) => {
const status = form.querySelector(".footer__status");
const inputs = [...form.querySelectorAll(".footer__input")];
form.addEventListener("submit", (event) => {
event.preventDefault();
const allValid = inputs.map(markValidity).every(Boolean);
status.textContent = allValid ? "You are on the list. First sheet goes out Friday." : "Two fields, both needed.";
if (allValid) form.reset();
});
};
document.querySelectorAll(".footer__form").forEach(setUpForm);
})();
</script>