Element: #242 Gallery with video, caption and download (feedback/lightbox)
What it shows: A lightbox gallery with three items, two images and one video, each with a caption and some with meta text.
When to use: Browsing attachments or media in a thread, with captions and authors, using next and previous navigation.
Spec:
- `` with `items: LightboxItem[]`
- Three items: image Moodboard, v1, video `type: 'video'` Short clip with a `poster`, image Moodboard, v2
- Fields used: `src`, `alt`, `caption`, `meta`; the third item has no `meta`
- Trigger resets `index = 0; open = true;` and is labelled `Open gallery ({items.length})`
Tags: lightbox, gallery, video, caption, carousel, media
Needs: @codeatlasdev/ui@4.6.0
Components: Button, Lightbox
Live demo: https://ui.codeatlas.com.br/docs/feedback/lightbox#gallery-with-video-caption-and-download