It is a flexible modal window plugin allowing you to create:
- Modal windows
- Information windows
- External link locker
- Pop-ups
- Pre-loaders
You can lock scroll with it, and it's compatible with React
Kit Modal 🎉 - https://natteke.github.io/kit/modal/demos/
<link rel="stylesheet" href="/styles/kit.modal.css">
<div data-modal="Name" class="kit_modal">
<div class="modal_stage">
<!-- YOUR HTML CODE GOES HERE... -->
</div>
</div>
<script src="/js/kit.modal.js"></script>
kit.modal.createModal('Name');
Full guide could be found here: https://natteke.github.io/kit/modal/docs/
The code and the documentation are released under the MIT License.