Displays a collection of images with a lightbox viewer.
Add a GalleryHeader with action sub-components like GalleryRotateLeft, GalleryZoomIn, GalleryDownload, and GalleryFullScreen to expose image controls.
Add a GalleryFooter with GalleryThumbnail to render a thumbnail strip for quick navigation.
Click on the image to open it in a fullscreen dialog without thumbnails or navigation buttons.
Gallery can be used as a lightbox by combining it with a grid of thumbnails. Click on an image to open the gallery in fullscreen mode.
Gallery uses semantic button elements for all interactive controls. Use aria-label attributes on buttons to provide accessible names.
| Key | Function |
|---|---|
| tab | Moves focus between interactive elements. |
| enter | Activates the focused button (zoom, rotate, flip, navigate, etc.). |
| space | Activates the focused button. |