Bootstrap 5 Footer with Newsletter and Social Links
A four-column dark footer with contact details, recent posts, dated updates, a newsletter field and round social buttons above a slim legal bar.
<section class="wdw-stage">
<div class="container" style="max-width:1140px">
<footer class="ft rounded-5 overflow-hidden" data-bs-theme="dark" id="contact">
<div class="p-4 p-lg-5">
<div class="row g-4 g-lg-5">
<div class="col-lg-3 col-sm-6">
<h2 class="ft-title">About us</h2>
<p class="ft-text mb-4">We build calm, fast web tools for small teams. Say hello any time.</p>
<ul class="list-unstyled d-grid gap-3 mb-0">
<li class="d-flex gap-3">
<span class="ft-ico"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/></svg></span>
<span><span class="d-block fw-semibold text-body-emphasis">Studio</span><span class="ft-text">48 Harbour Street, Lisbon</span></span>
</li>
<li class="d-flex gap-3">
<span class="ft-ico"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="3"/><path d="m4 7 8 6 8-6"/></svg></span>
<span><span class="d-block fw-semibold text-body-emphasis">Questions?</span><a class="ft-link" href="#">[email protected]</a></span>
</li>
<li class="d-flex gap-3">
<span class="ft-ico"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z"/></svg></span>
<span><span class="d-block fw-semibold text-body-emphasis">Call us</span><a class="ft-link" href="#">+351 210 000 000</a></span>
</li>
</ul>
</div>
<div class="col-lg-3 col-sm-6">
<h2 class="ft-title">Fresh posts</h2>
<ul class="list-unstyled d-grid gap-3 mb-0">
<li class="ft-post"><p class="mb-1 ft-text"><a class="ft-link fw-semibold" href="#">@studio</a> HTML version is out now, with dark mode.</p><small class="ft-muted">10 mins ago</small></li>
<li class="ft-post"><p class="mb-1 ft-text"><a class="ft-link fw-semibold" href="#">@studio</a> New docs landed: theming in five minutes.</p><small class="ft-muted">2 hours ago</small></li>
<li class="ft-post"><p class="mb-1 ft-text"><a class="ft-link fw-semibold" href="#">@studio</a> Thank you for 10,000 downloads.</p><small class="ft-muted">Yesterday</small></li>
</ul>
</div>
<div class="col-lg-3 col-sm-6">
<h2 class="ft-title">Latest updates</h2>
<ul class="list-unstyled d-grid gap-3 mb-0">
<li class="d-flex gap-3 align-items-center"><time class="ft-date" datetime="2026-04-28"><b>28</b>Apr</time><a class="ft-link ft-text" href="#">Release 3.2 adds a faster build pipeline</a></li>
<li class="d-flex gap-3 align-items-center"><time class="ft-date" datetime="2026-04-29"><b>29</b>Apr</time><a class="ft-link ft-text" href="#">Behind the scenes of our new icon set</a></li>
<li class="d-flex gap-3 align-items-center"><time class="ft-date" datetime="2026-04-30"><b>30</b>Apr</time><a class="ft-link ft-text" href="#">Roadmap for the summer quarter</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-6">
<h2 class="ft-title">Connect with us</h2>
<p class="ft-text mb-3">Monthly notes on new releases. No spam.</p>
<form class="d-flex flex-column gap-2 mb-4" id="ftNewsletter" onsubmit="return false">
<label for="ftEmail" class="visually-hidden">Email address</label>
<div class="input-group ft-input">
<input type="email" id="ftEmail" class="form-control border-0" placeholder="Your email" required>
<button class="btn btn-primary rounded-pill ms-1" type="submit">Join</button>
</div>
<small class="ft-muted" id="ftMsg" role="status" aria-live="polite"></small>
</form>
<div class="d-flex gap-2">
<a href="#" class="ft-social" aria-label="Facebook"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M14 8V6.5c0-.7.2-1 1.1-1H17V2h-2.6C11.3 2 10 3.700 10 6.200V8H7.500v3.500H10V22h4V11.500h2.800L17.300 8z"/></svg></a>
<a href="#" class="ft-social" aria-label="X"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.200 2h3.300l-7.200 8.300L22.800 22h-6.600l-5.200-6.800L5 22H1.700l7.700-8.800L1.300 2H8l4.700 6.200zm-1.200 18h1.800L7.100 3.900H5.200z"/></svg></a>
<a href="#" class="ft-social" aria-label="Instagram"><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="3" width="18" height="18" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.500" cy="6.500" r=".6" fill="currentColor"/></svg></a>
<a href="#" class="ft-social" aria-label="GitHub"><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"><path d="M9 19c-4 1.200-4-2-6-2.500m12 5v-3.500a3 3 0 0 0-.8-2.300c2.800-.3 5.800-1.400 5.800-6.200a4.800 4.800 0 0 0-1.300-3.300 4.400 4.400 0 0 0-.1-3.300s-1.100-.3-3.500 1.300a12 12 0 0 0-6.200 0C6.500 2.800 5.400 3.100 5.400 3.100a4.400 4.400 0 0 0-.1 3.300A4.800 4.800 0 0 0 4 9.700c0 4.800 3 5.900 5.800 6.200A3 3 0 0 0 9 18.200V22"/></svg></a>
</div>
</div>
</div>
</div>
<div class="ft-bar px-4 px-lg-5 py-3 d-flex flex-column flex-sm-row justify-content-between gap-2 small">
<span>© 2026 Your Company. All rights reserved.</span>
<span class="d-flex gap-3"><a class="ft-link" href="#">Privacy</a><a class="ft-link" href="#">Terms</a><a class="ft-link" href="#">Cookies</a></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 */
.ft { background: #12141c; color: #cbd0dc; box-shadow: var(--wdw-shadow); border: 1px solid rgba(255,255,255,.06); }
.ft-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.ft-text { color: #aab0c0; font-size: .925rem; line-height: 1.55; }
.ft-muted { color: #8b92a5; }
.ft-link { color: #c7d2fe; text-decoration: none; transition: color .15s; }
.ft-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-ico { width: 2.25rem; height: 2.25rem; flex: none; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center; background: rgba(129,140,248,.14); color: #a5b4fc; }
.ft-post { padding-left: 1rem; border-left: 2px solid rgba(129,140,248,.45); }
.ft-date { flex: none; width: 3rem; padding: .4rem 0; text-align: center; border-radius: .75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a5b4fc; line-height: 1.1; }
.ft-date b { display: block; font-size: 1.1rem; color: #fff; letter-spacing: 0; }
.ft-input { background: rgba(255,255,255,.07); border-radius: 99px; padding: .25rem; border: 1px solid rgba(255,255,255,.1); flex-wrap: nowrap; }
.ft-input .form-control { background: transparent; color: #fff; box-shadow: none; border-radius: 99px !important; padding-left: 1rem; min-width: 0; }
.ft-input .form-control::placeholder { color: #8b92a5; }
.ft-input:focus-within { border-color: #818cf8; box-shadow: 0 0 0 .2rem rgba(129,140,248,.3); }
.ft-social { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #e5e7f0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: background .2s, transform .2s, color .2s; }
.ft-social:hover { background: #818cf8; color: #12141c; transform: translateY(-2px); }
.ft-social:focus-visible, .ft-link:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }
.ft-bar { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); color: #8b92a5; }
(function () {
function initFooterNewsletter() {
const form = document.getElementById('ftNewsletter');
if (!form) return;
const msg = form.querySelector('#ftMsg');
form.addEventListener('submit', () => {
const input = form.querySelector('#ftEmail');
if (!input.checkValidity()) { msg.textContent = 'Please enter a valid email address.'; return; }
msg.textContent = 'Thanks! Check your inbox to confirm.';
form.reset();
});
}
initFooterNewsletter();
})();
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.