This is a very basic lightbox example using gatsby-image
. You can use the buttons within the lightbox or press ESC to close the lightbox and navigate between images with your left and right arrows.
Here's the github repo: https://github.com/416serg/gatsby-starter-lightbox