Bootstrap 5 Dark Footer with Newsletter and Social Links
A dark footer with a brand block, social icons, two link columns and a newsletter sign-up that collapses cleanly on small screens.
<section class="wdw-stage">
<div class="container" style="max-width:1120px">
<footer class="wdw-footer wdw-aurora rounded-5 p-4 p-lg-5" data-bs-theme="dark">
<div class="row g-4 g-lg-5">
<div class="col-lg-4">
<a href="#" class="d-inline-flex align-items-center gap-2 text-white text-decoration-none fs-4 fw-bold mb-3">
<span class="wdw-footer-mark" aria-hidden="true">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l9 5-9 5-9-5 9-5z"/><path d="M3 13l9 5 9-5"/></svg>
</span>
Northwind
</a>
<p class="wdw-footer-text mb-4">Stories on travel, nature and science for curious people. Delivered to your inbox, once a week.</p>
<div class="d-flex gap-2" aria-label="Social links">
<a class="wdw-footer-social" href="#" aria-label="Facebook"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" fill="currentColor"/></svg></a>
<a class="wdw-footer-social" href="#" aria-label="X"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" fill="currentColor" stroke="none"/></svg></a>
<a class="wdw-footer-social" href="#" aria-label="Instagram"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r=".6" fill="currentColor"/></svg></a>
<a class="wdw-footer-social" href="#" aria-label="RSS feed"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16" stroke-width="2.5"/><circle cx="5" cy="19" r="1.6" fill="currentColor"/></svg></a>
</div>
</div>
<nav class="col-6 col-md-3 col-lg-2" aria-label="Topics">
<h2 class="wdw-footer-title">Topics</h2>
<ul class="list-unstyled d-grid gap-1 mb-0">
<li><a href="#">Travel</a></li>
<li><a href="#">Nature</a></li>
<li><a href="#">Explore</a></li>
<li><a href="#">Science</a></li>
<li><a href="#">Advice</a></li>
</ul>
</nav>
<nav class="col-6 col-md-3 col-lg-2" aria-label="Company">
<h2 class="wdw-footer-title">Company</h2>
<ul class="list-unstyled d-grid gap-1 mb-0">
<li><a href="#">About us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Privacy</a></li>
</ul>
</nav>
<div class="col-md-6 col-lg-4">
<h2 class="wdw-footer-title">Newsletter</h2>
<p class="wdw-footer-text small">A rover wearing a fuzzy suit doesn't alarm the real penguins.</p>
<form class="wdw-footer-form" onsubmit="return false">
<label for="footer-email" class="visually-hidden">Email address</label>
<input id="footer-email" type="email" class="form-control" placeholder="Your email" autocomplete="email" required>
<button class="btn btn-primary rounded-pill px-4" type="submit">Subscribe</button>
</form>
</div>
</div>
<hr class="border-light opacity-25 my-4 my-lg-5">
<div class="d-flex flex-column flex-sm-row justify-content-between gap-2 small wdw-footer-text">
<span>© 2026 Northwind. All rights reserved.</span>
<span>Made with care for curious readers.</span>
</div>
</footer>
</div>
</section>
/* Web Designer Wall library style — shared base for every Bootstrap 5 snippet.
Indigo accent, Plus Jakarta Sans, soft cards, pill buttons. Works in light and dark. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root,
[data-bs-theme="light"] {
--wdw-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--bs-body-font-family: var(--wdw-font);
--bs-primary: #4f46e5;
--bs-primary-rgb: 79, 70, 229;
--bs-primary-text-emphasis: #3730a3;
--bs-primary-bg-subtle: #eef2ff;
--bs-primary-border-subtle: #c7d2fe;
--bs-link-color: #4f46e5;
--bs-link-color-rgb: 79, 70, 229;
--bs-link-hover-color: #4338ca;
--bs-link-hover-color-rgb: 67, 56, 202;
--bs-focus-ring-color: rgba(79, 70, 229, 0.25);
--bs-border-radius: 0.75rem;
--bs-border-radius-lg: 1rem;
--bs-border-radius-xl: 1.25rem;
--wdw-radius-card: 1.25rem;
--wdw-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 40px -16px rgba(16, 24, 40, 0.22);
--wdw-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px -4px rgba(16, 24, 40, 0.12);
--wdw-stage: #f5f6fb;
}
[data-bs-theme="dark"] {
--bs-primary: #818cf8;
--bs-primary-rgb: 129, 140, 248;
--bs-primary-text-emphasis: #c7d2fe;
--bs-primary-bg-subtle: rgba(129, 140, 248, 0.14);
--bs-primary-border-subtle: rgba(129, 140, 248, 0.35);
--bs-link-color: #a5b4fc;
--bs-link-color-rgb: 165, 180, 252;
--bs-link-hover-color: #c7d2fe;
--bs-link-hover-color-rgb: 199, 210, 254;
--bs-focus-ring-color: rgba(129, 140, 248, 0.35);
--wdw-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
--wdw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
--wdw-stage: #0f1117;
}
body { font-family: var(--wdw-font); -webkit-font-smoothing: antialiased; }
/* Bootstrap compiles its blue into these components; point them at the accent. */
.btn-primary {
--bs-btn-bg: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca;
--bs-btn-active-bg: #3730a3; --bs-btn-active-border-color: #3730a3;
--bs-btn-disabled-bg: var(--bs-primary); --bs-btn-disabled-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #0f1117; --bs-btn-hover-bg: #a5b4fc; --bs-btn-hover-border-color: #a5b4fc; --bs-btn-hover-color: #0f1117; --bs-btn-active-color: #0f1117; }
.btn-outline-primary {
--bs-btn-color: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: var(--bs-primary); --bs-btn-hover-border-color: var(--bs-primary);
--bs-btn-active-bg: var(--bs-primary); --bs-btn-active-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn { --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { min-height: 36px; }
.form-control, .form-select { min-height: 44px; border-radius: .75rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--bs-primary-rgb), .6); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-primary); }
.nav { --bs-nav-link-color: var(--bs-secondary-color); --bs-nav-link-hover-color: var(--bs-emphasis-color); }
.pagination { --bs-pagination-active-bg: var(--bs-primary); --bs-pagination-active-border-color: var(--bs-primary); --bs-pagination-color: var(--bs-body-color); --bs-pagination-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.progress, .progress-stacked { --bs-progress-bar-bg: var(--bs-primary); }
.list-group { --bs-list-group-active-bg: var(--bs-primary); --bs-list-group-active-border-color: var(--bs-primary); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--bs-primary); border-radius: .875rem; box-shadow: var(--wdw-shadow-sm); }
.accordion { --bs-accordion-active-bg: var(--bs-primary-bg-subtle); --bs-accordion-active-color: var(--bs-primary-text-emphasis); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.badge { font-weight: 600; }
/* Library building blocks — use these instead of re-inventing them per snippet. */
.wdw-stage { min-height: 100vh; display: flex; align-items: center; background: var(--wdw-stage); padding-block: 3rem; }
.wdw-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: var(--wdw-radius-card); box-shadow: var(--wdw-shadow); }
.wdw-card-sm { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: 1rem; box-shadow: var(--wdw-shadow-sm); }
.wdw-aurora { position: relative; color: #fff; background: radial-gradient(60% 55% at 100% 0, #818cf8 0, transparent 70%), radial-gradient(65% 60% at 0 100%, #ec4899 0, transparent 65%), #1e1b4b; }
.wdw-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-primary); }
.wdw-heading { font-weight: 800; letter-spacing: -.02em; color: var(--bs-emphasis-color); }
.wdw-muted { color: var(--bs-secondary-color); }
.wdw-icon { width: 2.75rem; height: 2.75rem; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: .875rem; background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }
/* Component */
.wdw-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .15s, transform .15s; }
.wdw-footer ul a:hover { color: #fff; }
.wdw-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.wdw-footer-text { color: rgba(255,255,255,.85); }
.wdw-footer ul a:hover { transform: translateX(3px); }
.wdw-footer a:focus-visible { outline: 2px solid #c7d2fe; outline-offset: 3px; border-radius: .25rem; }
.wdw-footer-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.wdw-footer-mark { width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(255,255,255,.14); }
.wdw-footer-social { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.wdw-footer-social:hover { background: rgba(255,255,255,.2); color: #fff; }
.wdw-footer-form { display: flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 50rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.wdw-footer-form:focus-within { background: rgba(255,255,255,.14); border-color: #c7d2fe; }
.wdw-footer-form .form-control { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; box-shadow: none; color: #fff; padding-inline: 1rem; }
.wdw-footer-form .btn { flex: none; }
.wdw-footer-form .form-control::placeholder { color: rgba(255,255,255,.6); }
.wdw-footer-form .form-control:focus { background: transparent; box-shadow: none; }
(function () {
function initFooterForm() {
var form = document.querySelector('.wdw-footer-form');
if (!form) return;
form.addEventListener('submit', function (e) {
e.preventDefault();
var btn = form.querySelector('button');
btn.textContent = 'Subscribed';
btn.disabled = true;
});
}
initFooterForm();
})();
<section class="ft-stage">
<div class="container ft-wrap">
<footer class="ft">
<div class="ft-grid">
<div class="ft-brand">
<a href="#" class="ft-logo"><svg width="28" height="28" viewBox="0 0 24 24" fill="none" aria-hidden="true"><rect width="24" height="24" rx="7" fill="var(--ft-accent)"/><path d="M7 16.5V7.5l5 6 5-6v9" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg> Meridian</a>
<p>Thoughtful tools for teams who ship. Plan, build and launch from one calm workspace.</p>
</div>
<nav class="ft-col" aria-label="Explore">
<h2 class="ft-h">Explore</h2>
<ul>
<li><a href="#">Travel</a></li>
<li><a href="#">Nature</a></li>
<li><a href="#">Guides</a></li>
<li><a href="#">Science</a></li>
<li><a href="#">Advice</a></li>
</ul>
</nav>
<nav class="ft-col" aria-label="Company">
<h2 class="ft-h">Company</h2>
<ul>
<li><a href="#">About us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Terms & conditions</a></li>
<li><a href="#">Privacy policy</a></li>
</ul>
</nav>
<div class="ft-col">
<h2 class="ft-h">Follow us</h2>
<ul>
<li><a href="#"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M13.5 21v-8h2.7l.4-3.2h-3.1V7.8c0-.9.3-1.5 1.6-1.5h1.7V3.4c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.5-4 4.1v2.4H7.7V13h2.7v8z"/></svg>Facebook</a></li>
<li><a href="#"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M17.5 3h3l-6.6 7.6L21.7 21h-6l-4.7-6.2L5.6 21h-3l7-8.1L2.2 3h6.1l4.3 5.7zm-1 16.2h1.7L7.5 4.7H5.7z"/></svg>X (Twitter)</a></li>
<li><a href="#"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r=".6" fill="currentColor"/></svg>Instagram</a></li>
<li><a href="#"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M5 11a8 8 0 0 1 8 8M5 5a14 14 0 0 1 14 14"/><circle cx="6" cy="18" r="1.2" fill="currentColor"/></svg>RSS</a></li>
</ul>
</div>
<div class="ft-col ft-news">
<h2 class="ft-h">Newsletter</h2>
<p>One short email a month. No spam, unsubscribe any time.</p>
<form class="ft-form" id="ftForm" novalidate>
<label class="visually-hidden" for="ftEmail">Email address</label>
<input class="form-control" id="ftEmail" type="email" placeholder="[email protected]" autocomplete="email" required>
<button type="submit" class="btn-solid theme-primary btn-icon ft-send" aria-label="Subscribe">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/></svg>
</button>
</form>
<p class="ft-status" id="ftStatus" role="status" aria-live="polite"></p>
</div>
</div>
<div class="ft-bottom">
<span>© 2026 Meridian Labs. All rights reserved.</span>
<span>Designed with care.</span>
</div>
</footer>
</div>
</section>
.ft-stage { min-height: 100vh; display: flex; align-items: center; padding: 1.5rem 0; background: var(--bs-bg-2); }
.ft-wrap { max-width: 72rem; }
.ft { --ft-bg: #17181c; --ft-fg: rgb(255 255 255 / .72); --ft-fg-strong: #fff; --ft-fg-muted: rgb(255 255 255 / .6); --ft-line: rgb(255 255 255 / .1); --ft-accent: #3b78f0;
background: var(--ft-bg); border: 1px solid var(--ft-line); color: var(--ft-fg); border-radius: 1.25rem; padding: 3rem 2.5rem 1.5rem; box-shadow: 0 24px 60px -30px rgb(0 0 0 / .5); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; gap: 2rem; }
.ft-logo { display: inline-flex; align-items: center; gap: .625rem; font-size: 1.375rem; font-weight: 700; color: var(--ft-fg-strong); text-decoration: none; margin-bottom: 1rem; }
.ft-brand p, .ft-news p { font-size: .875rem; line-height: 1.6; margin-bottom: 0; }
.ft-h { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ft-fg-strong); margin-bottom: 1rem; }
.ft ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .625rem; }
.ft li a { display: inline-flex; align-items: center; gap: .625rem; color: var(--ft-fg); text-decoration: none; font-size: .9375rem; transition: color .15s, transform .15s; }
.ft li a:hover { color: var(--ft-fg-strong); transform: translateX(3px); }
.ft li a:focus-visible, .ft-logo:focus-visible { outline: 2px solid var(--ft-accent); outline-offset: 3px; border-radius: 4px; }
.ft-form { display: flex; gap: .5rem; margin-top: 1rem; }
.ft .form-control { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: var(--ft-fg-strong); }
.ft .form-control::placeholder { color: rgb(255 255 255 / .45); }
.ft .form-control:focus { border-color: var(--ft-accent); background: rgb(255 255 255 / .09); }
.ft-send { --bs-theme-bg: var(--ft-accent); --bs-theme-contrast: #fff; flex: none; }
.ft-status { min-height: 1.25rem; margin-top: .625rem; font-size: .8125rem; color: var(--ft-fg-strong); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ft-line); font-size: .8125rem; color: var(--ft-fg-muted); }
@media (width < 1024px) { .ft-grid { grid-template-columns: 1fr 1fr 1fr; } .ft-brand, .ft-news { grid-column: 1 / -1; } .ft-news { max-width: 28rem; } }
@media (width < 600px) { .ft { padding: 2rem 1.5rem 1.25rem; } .ft-grid { grid-template-columns: 1fr 1fr; } .ft-col:nth-of-type(3) { grid-column: 1 / -1; } }
function initNewsletter() {
const form = document.getElementById('ftForm');
const status = document.getElementById('ftStatus');
if (!form || !status) return;
const input = form.querySelector('input[type="email"]');
form.addEventListener('submit', (e) => {
e.preventDefault();
if (!input.checkValidity()) {
status.textContent = 'Please enter a valid email address.';
input.focus();
return;
}
status.textContent = 'Thanks, check your inbox to confirm.';
form.reset();
});
}
initNewsletter();
Built on Bootstrap 6.0.0-alpha.1 (ES modules, no jQuery). Load Bootstrap through an import map and run the JavaScript as type="module" — the downloaded file is already set up that way. Alpha releases can still change class names.
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.