/MODALit

A simple, lightweight and Responsive JavaScript modal/popup dialog library.

MIT LicenseMIT

MODALit

A simple, lightweight and Responsive JavaScript modal/popup dialog library. It can be used to generate dialog with few lines of code.

Features

  • Simple & Lightweight. (4KB gzipped)
  • No-dependencies. (No jQuery required)
  • CommonJS / AMD support.
  • Automatically resize.
  • Async Image Loading
  • Support video embeds. (Youtube/Dailymotion/Vimeo/mp4/m4v/ogg/ogv/webm)
  • Grouping (like a Lightbox)

Requirements

  • classList
  • CSS Flexbox
  • CSS transition
  • CSS Animation
  • CSS Object fit (Fullscreen image)

Browser Support

Microsoft Internet Explorer 10+ and latest versions of Microsoft Edge, Mozilla Firefox, Apple Safari, Google Chrome and Opera.

DEMO and Documents

https://knot-design.jp/MODALit/