# Swiper

![](/files/4YtURltxohMTc32jHrFB)

<figure><img src="/files/2oF5qZByzfbCznoUyRZ7" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Style" %}
**Appearance**

&#x20;    **Background color :** The option to modify the background of your control allows you to personalize its appearance. When you click on it, a window will open that will allow you to select from various color variables, such as your primary or secondary tone, or even enter a specific hexadecimal code. In addition, you will find other settings that will allow you to further customize the background of your control.

<figure><img src="/files/sN9p02XcpG8HEEW6kM3a" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/clCI74Zuvg8GQutxScL3" alt=""><figcaption></figcaption></figure>

**Dimention**

&#x20;    **Size :** This option allows you to configure the size of your control both in height and width. It has two measurement systems: percentage (%) and pixels (px).

In the percentage system, you can enter a numerical value from 0 to 100, and the size of the control will automatically adjust to the percentage indicated with respect to the size of the container that contains it. For example, if you indicate a size of 50%, the control will occupy half of the screen, regardless of the size of the device. To activate this option, make sure that the corresponding icon is in blue.

On the other hand, in the pixel system, you can indicate a numerical value to determine the size of the control in pixels. This measurement will remain constant, regardless of the dimensions of the device. You can indicate any number of pixels between 0 and the maximum allowed. To activate this option, make sure that the corresponding icon is in gray.

<figure><img src="/files/j2t1i5muzg25Wn2DiC8T" alt=""><figcaption></figcaption></figure>

**Layout**

&#x20;    **Direction :** This option allows you to modify the direction in which the controls you place inside your container are placed, giving you the option to choose from 1. top, 2. right, 3. bottom, and 4. left. This means that each time you place a control, it will be positioned next to the control where you place it, in the selected direction.

<figure><img src="/files/nEC0Xi6x89YlIM51Om7a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Events & EventOutput" %}

{% endtab %}

{% tab title="Basic Properties" %}

```json
{
        "arrowsColor": {
            "type": "palette",
            "value": {
                "alpha": 1,
                "base": "black",
                "shade": "50"
            }
        },
        "containerType": "wrapper",
        "controls": [
            {
                "containerType": "inner",
                "id": "dWEgAJoo8HfJcEGVyQgWbv",
                "name": "container",
                "style": {
                    "alignItems": "center",
                    "background": {
                        "type": "custom",
                        "value": "transparent"
                    },
                    "borderColor": {
                        "type": "palette",
                        "value": {
                            "base": "black",
                            "shade": 900
                        }
                    },
                    "borderStyle": "solid",
                    "flexDirection": "column",
                    "height": {
                        "unit": "%",
                        "value": 100
                    },
                    "justifyContent": "center",
                    "overflow": "hidden",
                    "paddingBottom": 0,
                    "paddingLeft": 0,
                    "paddingRight": 0,
                    "paddingTop": 0,
                    "width": {
                        "unit": "%",
                        "value": 100
                    }
                },
                "tag": "View"
            },
            {
                "containerType": "inner",
                "id": "ctrl_jp9H7vPthHZmv86z3MKXXK",
                "name": "swiperContainer",
                "style": {
                    "alignItems": "center",
                    "background": {
                        "type": "custom",
                        "value": "transparent"
                    },
                    "borderColor": {
                        "type": "palette",
                        "value": {
                            "base": "black",
                            "shade": 900
                        }
                    },
                    "borderStyle": "solid",
                    "flexDirection": "column",
                    "height": {
                        "unit": "%",
                        "value": 100
                    },
                    "justifyContent": "center",
                    "overflow": "hidden",
                    "paddingBottom": 0,
                    "paddingLeft": 0,
                    "paddingRight": 0,
                    "paddingTop": 0,
                    "width": {
                        "unit": "%",
                        "value": 100
                    }
                },
                "tag": "View"
            },
            {
                "containerType": "inner",
                "id": "ctrl_sxaHNBoBz7MGnRCX6CwZay",
                "name": "swiperContainer",
                "style": {
                    "alignItems": "center",
                    "background": {
                        "type": "custom",
                        "value": "transparent"
                    },
                    "borderColor": {
                        "type": "palette",
                        "value": {
                            "base": "black",
                            "shade": 900
                        }
                    },
                    "borderStyle": "solid",
                    "flexDirection": "column",
                    "height": {
                        "unit": "%",
                        "value": 100
                    },
                    "justifyContent": "center",
                    "overflow": "hidden",
                    "paddingBottom": 0,
                    "paddingLeft": 0,
                    "paddingRight": 0,
                    "paddingTop": 0,
                    "width": {
                        "unit": "%",
                        "value": 100
                    }
                },
                "tag": "View"
            }
        ],
        "editingView": "dWEgAJoo8HfJcEGVyQgWbv",
        "id": "8axB7QHge4hCfQNBnwTtcD",
        "isDynamicLoadingEnabled": false,
        "isHidden": false,
        "loop": true,
        "name": "swiper",
        "shouldPersist": false,
        "shouldRegisterUnoHistory": false,
        "showPoints": true,
        "showsButtons": true,
        "style": {
            "alignItems": "center",
            "background": {
                "type": "custom",
                "value": "#1c3a8a"
            },
            "flexDirection": "column",
            "height": {
                "unit": "%",
                "value": 100
            },
            "justifyContent": "center",
            "overflow": "hidden",
            "paddingBottom": 0,
            "paddingLeft": 0,
            "paddingRight": 0,
            "paddingTop": 0,
            "width": {
                "unit": "%",
                "value": 100
            }
        },
        "tag": "Swiper"
    }s
```

{% 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.apphive.io/reference/controles/swiper.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.
