Skip to content

Newsletter Footer

A copy-paste footers component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

FootersHTMLCSSany framework

Copy into your project

HTML
<footer class="nuda-footer-news">
  <div class="nuda-footer-news__copy">
    <h4>Stay in the loop</h4>
    <p>One short email a month. Zero spam.</p>
  </div>
  <form class="nuda-footer-news__form">
    <input type="email" placeholder="you@domain.com" aria-label="Email" />
    <button type="submit">Subscribe</button>
  </form>
</footer>
CSS
.nuda-footer-news {
  --accent: #e4ff54;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(228, 255, 84, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  flex-wrap: wrap;
}

.nuda-footer-news__copy h4 {
  margin: 0 0 4px;
  color: #fafafa;
  font-size: 14px;
  font-weight: 600;
}

.nuda-footer-news__copy p {
  margin: 0;
  color: #a0a0a8;
  font-size: 12px;
}

.nuda-footer-news__form {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nuda-footer-news__form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 255, 84, 0.15);
}

.nuda-footer-news__form input {
  background: transparent;
  border: 0;
  outline: none;
  color: #fafafa;
  font-size: 12px;
  padding: 6px 10px;
  width: 180px;
}

.nuda-footer-news__form button {
  background: var(--accent);
  color: #09090b;
  border: 0;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}

.nuda-footer-news__form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

How to use Newsletter Footer

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More footers components

← Browse all NudaUI components