# baguetteBox.js

Lightbox script for image galleries, written in pure JavaScript.


Source: https://findsoftware.frbit.cloud/baguettebox/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://feimosi.github.io/baguetteBox.js/
- repository: https://github.com/feimosi/baguetteBox.js
- docs: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md

### Identity

- status: active
- maintainer: Marek Grzybek
- maintainerType: individual
- parent: unknown
- firstRelease: 2014
- hqCountry: unknown

### Kind

- category: ui-library
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-11-09

### Adoption

- githubStargazers: 2505
- packagistDownloads: not applicable
- npmWeeklyDownloads: 8528
- contributors: 23
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 210
- dependentPackages: 22

### Sources

- urls: https://feimosi.github.io/baguetteBox.js/ (read 2026-11-04)
- urls: https://github.com/feimosi/baguetteBox.js (read 2026-11-04)
- urls: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- firstRelease: https://github.com/feimosi/baguetteBox.js/releases/tag/v0.1.0 (read 2026-11-04)
- maintainer: https://github.com/feimosi/baguetteBox.js/blob/dev/LICENSE (read 2026-11-04)
- category: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- language: https://github.com/feimosi/baguetteBox.js (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- installMethod: https://github.com/feimosi/baguetteBox.js/blob/dev/README.md (read 2026-11-04)
- license: https://github.com/feimosi/baguetteBox.js (read 2026-11-04)
- license: https://registry.npmjs.org/baguettebox.js/latest (read 2026-11-04)
- licenseModel: https://github.com/feimosi/baguetteBox.js/blob/dev/LICENSE (read 2026-11-04)
- currentMajor: https://github.com/feimosi/baguetteBox.js/releases/tag/v1.13.0 (read 2026-11-04)
- latestReleaseDate: https://github.com/feimosi/baguetteBox.js/releases/tag/v1.13.0 (read 2026-11-04)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/baguettebox.js (read 2026-11-04)
- githubStargazers: https://github.com/feimosi/baguetteBox.js (read 2026-11-04)
- contributors: https://github.com/feimosi/baguetteBox.js/graphs/contributors (read 2026-11-04)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/baguettebox.js (read 2026-11-04)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/baguettebox.js (read 2026-11-04)

## Notes

baguetteBox.js is a lightbox script that opens the images of a gallery in an overlay. The page calls `baguetteBox.run` with a CSS selector for the gallery. A title or `data-caption` attribute on the link supplies the caption, and `data-at-{width}` attributes let the overlay pick an image by screen width. The [README](https://github.com/feimosi/baguetteBox.js/blob/dev/README.md) documents the options and the API. The script installs from npm, Yarn, Bower or Composer, or loads from a CDN or from downloaded files.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
