Snippets Email

Bootstrap 5 Confirm Account Email Template

A confirm-your-email message with a branded header, a prominent call-to-action button and a copyable fallback link.

Bootstrap 5 No jQuery Dec 2019 5.4K views

<section class="wdw-stage">
  <div class="container" style="max-width:560px">
    <div class="wdw-card overflow-hidden mail">
      <div class="wdw-aurora text-center px-4 pt-5 pb-5 mail-hero">
        <div class="mail-badge mx-auto mb-3" aria-hidden="true">
          <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="3"/><path d="M3 8l9 6 9-6"/></svg>
        </div>
        <p class="small fw-semibold text-uppercase mb-1 opacity-75" style="letter-spacing:.1em">Northwind</p>
        <h1 class="h2 fw-bold mb-0">Confirm your email</h1>
      </div>
      <div class="p-4 p-md-5">
        <p class="fs-5 fw-semibold text-body-emphasis mb-2">Hi Jordan, welcome aboard.</p>
        <p class="text-body-secondary mb-4">We are excited to have you. Before you get started, please confirm that this is your email address so we can keep your account secure.</p>
        <div class="text-center mb-4">
          <a href="#" class="btn btn-primary rounded-pill px-5 btn-lg">Confirm account</a>
          <p class="small text-body-secondary mt-3 mb-0">This link expires in 24 hours.</p>
        </div>
        <div class="bg-body-tertiary rounded-4 p-3 mb-4">
          <p class="small text-body-secondary mb-2">Button not working? Copy and paste this link into your browser.</p>
          <div class="input-group">
            <input type="text" class="form-control form-control-sm font-monospace" id="mailLink" value="https://northwind.app/confirm/8f3k2x9qa71" readonly aria-label="Confirmation link">
            <button type="button" class="btn btn-outline-primary btn-sm" id="mailCopy">Copy</button>
          </div>
        </div>
        <p class="text-body-secondary mb-0">Questions? Just reply to this email. We are always happy to help.</p>
        <p class="fw-semibold text-body-emphasis mt-3 mb-0">The Northwind team</p>
      </div>
      <div class="border-top bg-body-tertiary px-4 py-3 text-center small text-body-secondary">
        You received this because you signed up at northwind.app.<br>
        <a href="#" class="link-body-emphasis">Unsubscribe</a> · <a href="#" class="link-body-emphasis">Privacy</a>
      </div>
    </div>
  </div>
</section>

Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.

Free to use in personal and commercial projects under the MIT license.