SilverBox is a lightweight and versatile JavaScript library for creating customizable modals and alerts in web applications. It allows you to have your own style alongside the ease of use of using a library.
To create a modal or alert using SilverBox, follow these steps:
-
Include SilverBox CSS and JS files in your HTML:
<link rel="stylesheet" href="path/to/silverBox.min.css" />
<script src="path/to/silverBox.min.js"></script>
- Call SilverBox and create a modal or alert:
silverBox({
title: {
text: "Success",
alertIcon: "success",
},
text: "Your task has been completed.",
});
Please refer to the website for full documentation list.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to submit bug reports, feature requests, or pull requests.
This project is licensed under the MIT License.