Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Nieuwsbrief met dubbele bevestiging New

Newsletter sign-up with double opt-in the way GDPR prefers: after signing up it does not say "done" but "confirm your address", with the address shown, a resend button that counts down 30 seconds and a link for a different address. In the demo a preview of the confirmation email opens, and only after that click are you really on the list. With an error for an invalid address and focus on each new step.

Nieuws van de kaasboerderij

Eens per maand: wat er van het land komt, nieuwe kazen en de proeverijen in Haastrecht.

Je krijgt eerst een mail om je adres te bevestigen. Afmelden kan onder elke nieuwsbrief.

How to use it

  1. Paste the HTML where the forms & inputs should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Nieuwsbrief met dubbele bevestiging · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="nbo"><div class="nbo__in">
<section class="nbo__v" data-v="form">
<h3 class="nbo__h" tabindex="-1">Nieuws van de kaasboerderij</h3>
<p class="nbo__p">Eens per maand: wat er van het land komt, nieuwe kazen en de proeverijen in Haastrecht.</p>
<form class="nbo__f" novalidate>
<label class="nbo__vh" for="nbo-e">E-mailadres</label>
<div class="nbo__row"><input class="nbo__i" id="nbo-e" type="email" autocomplete="email" placeholder="naam@voorbeeld.nl" aria-describedby="nbo-ee"><button class="nbo__btn" type="submit">Aanmelden</button></div>
<p class="nbo__err" id="nbo-ee"></p>
<p class="nbo__small">Je krijgt eerst een mail om je adres te bevestigen. Afmelden kan onder elke nieuwsbrief.</p>
</form>
</section>
<section class="nbo__v" data-v="wait" hidden>
<h3 class="nbo__h" tabindex="-1">Bevestig je aanmelding</h3>
<p class="nbo__p">We stuurden een mail naar <b class="nbo__addr"></b>. Klik op de knop in die mail, pas daarna sturen we de nieuwsbrief.</p>
<div class="nbo__mail" role="group" aria-label="Voorbeeld van de bevestigingsmail"><p class="nbo__mh">Kaasboerderij De Wit: klopt dit adres?</p><button class="nbo__btn nbo__conf" type="button">Ja, schrijf me in</button></div>
<div class="nbo__acts"><button class="nbo__link nbo__again" type="button">Mail opnieuw sturen</button><button class="nbo__link nbo__other" type="button">Ander e-mailadres</button></div>
<p class="nbo__small nbo__st" aria-live="polite"></p>
</section>
<section class="nbo__v" data-v="ok" hidden>
<h3 class="nbo__h" tabindex="-1">Je staat op de lijst</h3>
<p class="nbo__p">De eerste nieuwsbrief komt donderdag 15 oktober. Tot die tijd: de boerderijwinkel is open van dinsdag tot en met zaterdag.</p>
<button class="nbo__link nbo__reset" type="button">Opnieuw bekijken</button>
</section>
</div></div>
</div>

More forms & inputs

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →