# Blocks

Blocks offer a dynamic method for repeatedly adding a single element, and they can include all the options mentioned earlier. Think of them as elements to infuse dynamic functionality into some of your elements. For instance, you can use blocks to construct a dynamic slider by adding the block to a single slide of the slider.

In doing so, each block created in the Shopify Theme Editor will result in a new slide being generated. It is important to note that, similar to sections, options can be added within blocks, but not directly to the block itself. To create a block, simply add the attribute:

{% code title="Webflow" fullWidth="false" %}

```
li-block = Block Name
```

{% endcode %}

{% columns %}
{% column %}

<figure><img src="/files/uCrW4dTys2k2MKBzhpnW" alt="" width="294"><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/Vhfj9FICr1TUVVhoxwXL" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

## Different Blocks in the same Array

`li-content-for-blocks` provides a flexible way to use multiple blocks within a wrapper. Inside `li-content-for-blocks`, you can add multiple `li-block` elements with different functions, like a paragraph, headline, or button. In the Shopify Theme Editor, the number of blocks and their order can be configured.

{% tabs %}
{% tab title="li-content-for-blocks " %}
{% code title="Webflow" fullWidth="false" %}

```
li-block = Heading
```

{% endcode %}

{% code title="Webflow" fullWidth="false" %}

```
li-block = Paragraph
```

{% endcode %}

{% code title="Webflow" fullWidth="false" %}

```
li-block = Button
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.liquiflow.app/section-settings/blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
