GLightbox

This documentation it's a work in progress


GLightbox is a beautful lightbox library written using TypeScript. It has plugins support and it’s completely modular meaning you add the functionalities your project needs. There’s plugins to display images, iframes, inline content, videos and many more, each plugin has it’s own configuration.

⚠️

GLightbox is completely free for open source and personal projects. If you are including the library in a commercial project, plugin or theme please check the available licenses

Features

  • Created using TypeScript with no dependencies
  • Modular, you decide what features you want to include
  • Plugins support. You can extend the functionality with custom plugins
  • Customizable. You can adjust everything with the available option and CSS variables
  • Keyboard navigation
  • Videos support. Youtube, Vimeo and self hosted videos with autoplay
  • API to control the lightbox with the provided methods

Inline content

Iframes