Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.22 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.22 KB

SilverBox

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.

Table of Contents

Usage

To create a modal or alert using SilverBox, follow these steps:

  1. Download SilverBox files.

  2. 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>
  1. Call SilverBox and create a modal or alert:
silverBox({
  title: {
    text: "Success",
    alertIcon: "success",
  },
  text: "Your task has been completed.",
});

Documentation

Please refer to the website for full documentation list.

Contributing

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.

License

This project is licensed under the MIT License.