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

Kenteken in NL-geel New

Licence plate input styled as a yellow Dutch plate with a blue NL band: uppercase and dashes following the RDW side codes, validation with a specific message, a loading state and a sample result with make, model and MOT date. Demo data in JS; in production connect RDW Open Data (free).

Probeer

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.
<!-- Kenteken in NL-geel · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="knl"><div class="knl__in">
<form class="knl__form" novalidate>
<label class="knl__l" for="knl-k">Kenteken van je auto</label>
<div class="knl__row">
<div class="knl__plate"><span class="knl__eu" aria-hidden="true"><svg viewBox="0 0 20 20"><g fill="#F7C600"><circle cx="10" cy="3" r="1"/><circle cx="13.5" cy="3.9" r="1"/><circle cx="16.1" cy="6.5" r="1"/><circle cx="17" cy="10" r="1"/><circle cx="16.1" cy="13.5" r="1"/><circle cx="13.5" cy="16.1" r="1"/><circle cx="10" cy="17" r="1"/><circle cx="6.5" cy="16.1" r="1"/><circle cx="3.9" cy="13.5" r="1"/><circle cx="3" cy="10" r="1"/><circle cx="3.9" cy="6.5" r="1"/><circle cx="6.5" cy="3.9" r="1"/></g></svg><b>NL</b></span><input class="knl__i" id="knl-k" name="kenteken" autocomplete="off" autocapitalize="characters" spellcheck="false" maxlength="8" placeholder="GH-482-T" aria-describedby="knl-e knl-h"></div>
<button class="knl__btn" type="submit">Check</button>
</div>
<p class="knl__e" id="knl-e"></p>
<p class="knl__h" id="knl-h">Probeer <button type="button" data-k="GH482T">GH-482-T</button> <button type="button" data-k="KZN12P">KZN-12-P</button> <button type="button" data-k="S517FL">S-517-FL</button> <button type="button" data-k="BB001B">BB-001-B</button></p>
</form>
<div class="knl__res" aria-live="polite"></div>
</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 →