Modal web component How to use: Add the modal.js file to your project. Include it using <script src="./modal.js"></script> Add tag <pp-modal> <h1 slot="header">Information Box</h1> some text </pp-modal>