feimosi/baguetteBox.js
:zap: Simple and easy to use lightbox script written in pure JavaScript observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 71
- Release rhythm 24
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4424
- days_rel: 297
- days_push: 177
- n_releases_24m: 1
Adoption not part of the score
2503 stars · 428 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
baguetteBox.js is a lightweight (~3.2KB gzipped) lightbox script written in pure JavaScript with no dependencies. It displays image galleries in a fullscreen modal overlay with swipe gestures, captions, responsive images, and CSS3 transitions.
Use cases
- add a lightbox to an image gallery on a static site
- show photos in a fullscreen modal with swipe support on mobile
- display responsive images in a gallery viewer without jQuery
- add image captions and fullscreen mode to a photo grid
- embed a minimal accessible image viewer in a webpage
When to choose
- you need a tiny, dependency-free lightbox for plain JavaScript sites
- you want touch/swipe support and responsive images out of the box
- you need multiple galleries with per-gallery configuration
When to avoid
- you need video or mixed-media lightbox support
- your stack already includes a larger UI framework with a lightbox component
- you need deep customization beyond the provided options
Facets
library · maturity maintenance
ui-components animation web-development frontend media photography browser lightbox image-gallery vanilla-javascript responsive-images touch-gestures modal zero-dependency javascript
3 sources
- readme: https://github.com/feimosi/baguetteBox.js · fetched 2026-08-28 · 0dce4cd955e5
- homepage: https://feimosi.github.io/baguetteBox.js/ · fetched 2026-08-29 · 5646420afa00
- registry_npm: https://registry.npmjs.org/baguettebox.js · fetched 2026-08-29 · 5b08bc86e1f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| feimosi/baguetteBox.js | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="feimosi/baguetteBox.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem