Skip to content

Lightweight and versatile JavaScript library to create customizable modals and alerts for your web applications. Built with pure JavaScript and zero dependencies.

License

Notifications You must be signed in to change notification settings

Silverethical/silverBox

Repository files navigation

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.

About

Lightweight and versatile JavaScript library to create customizable modals and alerts for your web applications. Built with pure JavaScript and zero dependencies.

Topics

Resources

License

Stars

Watchers

Forks