vex is a modern dialog library which is highly configurable, easily stylable, and gets out of the way. 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.
Features
- Drop-in replacement for alert, confirm, and prompt
- Easily configurable animations which are smooth as butter
- Lightweight with no external dependencies
- Looks and behaves great on mobile devices
- Built in CSS spinner for asynchronous dialogs (TODO)
- UMD support