Skip to content

crpozo/lightbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simple Lightbox functionality based on Bootstrap 5 using only modal and carousel components

Requirements:

  • Bootstrap 5

Installation

npm i lightbox-werkraum

Instructions

Initialize lightbox :   data-toggle = "lightbox"
Create gallery      :   data-gallery = "memories"
Create caption      :   data-caption = "This describes the image"
Size modal          :   data-size = "fullscreen" (fullscreen, xl, lg and sm)

Demo inside dist/index.html

Usage

  <a href="image-big" data-toggle="lightbox" data-gallery="gallery" data-caption = "This describes the image">
      <img src="image-small">
  </a>

About

Bootstrap 5 lightbox component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.2%
  • SCSS 9.8%