lity
Lity is a lightweight lightbox library for web pages. It provides a modal overlay that presents images, videos, iframes, and inline content without navigating away from the page. It is designed to be simple to integrate and to work with minimal setup.
How it works: To trigger a lightbox, a data-lity attribute is added to a link or element.
Installation and usage: Include the lity CSS and JavaScript files in the page. A typical usage is
Development and licensing: Lity is an open-source project hosted on platforms such as GitHub. It is designed