vex
A modern dialog library, configurable and easy to style
...You'll love vex because it's tiny (5.6kb minified and gzipped), has a clear and simple API, works on mobile devices, and can be customized to match your style in seconds. Drop-in replacement for alert, confirm, and prompt. Easily configurable animations which are smooth as butter. Open multiple dialogs at once and close them individually or all at once. vex will run in any ES5-compatible environment, and includes polyfills for classList and Object.assign. For the most common usage of vex, you'll want to include vex, vex-dialog, the vex CSS file, and a theme file. For browserify/webpack, you'll still need to include the stylesheets on your page, but you can setup vex in your scripts.