> For the complete documentation index, see [llms.txt](https://attr.sygnal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://attr.sygnal.com/sa5-elements/lightbox.md).

# Lightbox Element

See the sub pages for details on how to implement;

* [CMS captions](/sa5-elements/lightbox/cms-and-lightbox-+-captions.md) in lightboxes
* [CMS lightbox](/sa5-elements/lightbox/cms-and-lightbox-+-groups.md) groups
* Dynamic [lightbox creation](/sa5-elements/lightbox/slider-code-examples.md)

## Features <a href="#prepare-your-collection-list" id="prepare-your-collection-list"></a>

SA5 Lightbox includes JS API capabilities, see the left nav for the API docs.&#x20;

|                                     | Attributes                                                                     | Javascript API                                                  |
| ----------------------------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------- |
| CMS-driven groups                   | [wfu-lightbox-group](/sa5-elements/lightbox/cms-and-lightbox-+-groups.md)      |                                                                 |
| Captions support                    | [wfu-lightbox-captions](/sa5-elements/lightbox/cms-and-lightbox-+-captions.md) |                                                                 |
| Add new image lightbox, dynamically |                                                                                | [createNew](/sa5-elements/lightbox/slider-code-examples.md)     |
| Reset lightboxes                    |                                                                                | [resetLightbox](/sa5-elements/lightbox/slider-code-examples.md) |
