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

Modal die opploft

A dialog appears with a short springy scale and a fading backdrop; closes with Esc, the close button or a click outside. For confirmations.

How to use it

  1. Paste the HTML where the components 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.
<!-- Modal die opploft · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="ei-mdp"><button class="ei-mdp__open" type="button">Afspraak verzetten</button><div class="ei-mdp__bd" hidden><div class="ei-mdp__d" role="dialog" aria-modal="true" aria-labelledby="ei-mdp-t"><button class="ei-mdp__x" type="button" aria-label="Sluiten">&times;</button><span class="ei-mdp__k">Tandartspraktijk Zuid</span><h4 class="ei-mdp__h" id="ei-mdp-t">Afspraak verzetten?</h4><p class="ei-mdp__p">Je huidige afspraak op dinsdag 14 oktober om 10:30 vervalt.</p><div class="ei-mdp__a"><button class="ei-mdp__btn ei-mdp__btn--ghost" type="button" data-close>Annuleren</button><button class="ei-mdp__btn" type="button" data-close>Ja, verzetten</button></div></div></div></div>
</div>

More components

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 →