A lightweight and professional modal popup script built with pure vanilla JavaScript (no jQuery required).

Features:

  • Easy to implement: Simply add a data-attribute to any button to trigger the modal.
  • Fully Accessible: Supports closing via the Escape key, close button, or overlay click.
  • Highly Customizable: Style the modal easily with the provided CSS file and place any HTML content inside.
  • No Dependencies: Fast and lightweight.