> For the complete documentation index, see [llms.txt](https://sdk.logicdialog.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.logicdialog.ai/content-types/all-content-types/galleries.md).

# Galleries

The GalleryBB is used to show a list of elements, such as an array of products, or when info should be displayed in a particular way Each item in the GalleryBB is built using the ItemBuilder.

{% tabs %}
{% tab title="Create an Item Builder" %}

```javascript
const complexBB = new ComplexBB();
const ib = new ItemBuilder();
```

{% endtab %}
{% endtabs %}

The ItemBuilder is used similarly to the BasicBB, in that a title, text, and Choices can be added They differ in the additional features, such as being able to contain an image, from a URL, and adding a subtitle.

{% tabs %}
{% tab title="Add an image" %}

```javascript
ib.image("<url>")
ib.addSubtitle(Languages.ENGLISH, "subtitle text")

complexBB.pushItem(ib)
```

{% endtab %}
{% endtabs %}

If multiple items are added, each of these Items are be displayed in a Carousel, letting the user flip through them like a book, to find what they are looking for.
