# Button Group

<div align="left"><figure><img src="/files/4zIjoZhpZCG9XPVoxmt7" alt="" width="68"><figcaption><p>Button Group Element</p></figcaption></figure></div>

The **`Button Group`** element allows you to group multiple buttons together. It provides a way to visually organize related buttons and size them as a cohesive unit.

The image below shows examples of button groups:

* Button group with 4 buttons and the *Size* option set to small.
* Button group with 3 buttons and the *Size* option set to large.&#x20;
* Button group with the *Type* option set to vertical.

<figure><img src="/files/BaCq1QQg0rWhokPTPxxU" alt=""><figcaption><p>Examples of Button Group elements</p></figcaption></figure>

***

## Options

The [Options tab](/app-editor/page-editor/page-element-settings.md#options-tab) settings for this element are described below:

### `Size`

Set the size of the buttons to override the [Size setting](/app-editor/page-editor/built-in-elements/button.md#button-size) of individual buttons. If the value of this setting is Default, the button group is rendered based on the largest sized button in the group.

### `Type`

By default, a button group is rendered in horizontal orientation. You can also have the button vertically oriented by choosing the Vertical setting.

### `Popup Menu Direction`

When used in the composite [Popup Menu1](/app-editor/page-editor/built-in-elements/popup-menu-style1.md) and [Popup Menu2](/app-editor/page-editor/built-in-elements/popup-menu-style2.md) elements, you can specify the location where the menu opens when clicked.


---

# 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.zingy.ai/app-editor/page-editor/built-in-elements/button-group.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.
