Gallery
A grid, masonry or carousel of images with captions and an optional lightbox.

What it is for
A grid, masonry or carousel of images with captions. Images can open in a lightbox.
Where you can use it
On any page, template, saved section, header or footer.
In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.gallery, version 1.
Options
Content tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Images | images | A list of up to 60 items; each item has the fields below. | No items |
| Layout | layout | Grid (grid), Masonry (masonry), Carousel (carousel). | Grid (grid) |
| Image shape | ratio | Adapt (adapt), 1:1 (1:1), 4:5 (4:5). | Adapt (adapt) |
| Open images in a lightbox | lightbox | On or off. | On |
| Captions | captions | Below (below), Overlay (overlay), Hidden (hidden). | Below (below) |
| Gallery name (for screen readers) | label | Text, up to 100 characters. One value per language. | “Gallery” |
| Lightbox status ({n} of {total}) | statusText | Text, up to 100 characters. One value per language. | “Image {n} of {total}” |
| Lightbox close button | closeLabel | Text, up to 40 characters. One value per language. | “Close” |
| Previous button | prevLabel | Text, up to 60 characters. One value per language. | “Previous image” |
| Next button | nextLabel | Text, up to 60 characters. One value per language. | “Next image” |
| Load first (the first image is the main image of the page) | priority | On or off. | Off |
Style tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Columns on desktop | columnsDesktop | A number from 1 to 6. | 3 |
| Columns on phone | columnsMobile | A number from 1 to 3. | 2 |
| Gap (px) | gap | A number from 0 to 48. | 12 |
Fields of each item in Images
| Field | Key | Allowed values | Default |
|---|---|---|---|
| Image | image | An image from the Media library. | Empty |
| Alt text | alt | Text, up to 300 characters. One value per language. | Empty |
| Caption | caption | Text, up to 300 characters. One value per language. | Empty |
| Link (when the lightbox is off) | link | A link to a page, product, collection, category, a search, or a web address. | Empty |
Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.
Responsive behaviour
Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.
Columns on desktop (1 to 6) and Columns on phone (1 to 3) are set separately; tablets use at most 3 columns.
SEO and accessibility
It is written on the server as a list of figures with captions. With the lightbox on (the default), every image links to its full-size file, so it works without JavaScript; with it off, an image links to the link you set on it, if any. The lightbox is an enhancement (a dialog with Escape, arrow keys and an "Image 3 of 12" status).
With an AI agent
An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.
{
"type": "basic.gallery",
"v": 1,
"props": {}
} @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.