A lightweight JavaScript library for creating reusable, dynamic modals using vanilla JavaScript. This library allows you to easily add and remove modals in the DOM with dynamic content, custom styles, and classes passed via props.
Pure vanilla JavaScript, no dependencies required. Create reusable modal components with custom properties. Dynamically update modal content and styles using props. Easy DOM manipulation for adding and removing modals. Lightweight and simple to integrate.
Include the Script: Add the script to your project as shown above. Create a Modal: Use the provided createModal function to generate a modal with desired props. Customize with Props: Pass dynamic data and classes to control the modal’s content and styles.