Gallery Demo
Quick demo of the new <Gallery> MDX component. Drop one of these inline anywhere in a post and it’ll render as a responsive grid with click-to-zoom.
Three-column gallery
Two-column gallery, no captions
You can override the column count per gallery:
Click any image to open the lightbox. Hit Escape or click the backdrop to close.
Notes
- Images currently come from
/uploads/. Same convention asheroImage. - Captions are optional — leave them out for a cleaner look.
- On mobile, the grid collapses to two columns regardless of
columnsprop.