> For the complete documentation index, see [llms.txt](https://docs.zingy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zingy.ai/app-editor/page-editor/built-in-elements/button-toolbar.md).

# Button Toolbar

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FIgVL0xcigPAOaFsWNopA%2Fimage.png?alt=media&amp;token=267a99f5-f007-4d4d-8c2e-08d6af4cdb69" alt="" width="71"><figcaption><p>Button Toolbar Element</p></figcaption></figure></div>

The **`Button Toolbar`** element allows you to group multiple [Button Group](/app-editor/page-editor/built-in-elements/button-group.md) and [Input Group](/app-editor/page-editor/built-in-elements/input-group.md) elements horizontally. There can be more than one button group and/or input groups and the button groups can have any number of buttons.

The example image below shows a button toolbar with:

* [Input Group](/app-editor/page-editor/built-in-elements/input-group.md) with [Input](/app-editor/page-editor/built-in-elements/input.md) element.
* [Button Group](/app-editor/page-editor/built-in-elements/button-group.md) with three [Button](/app-editor/page-editor/built-in-elements/button.md) elements.
* [Input Group](/app-editor/page-editor/built-in-elements/input-group.md) with [Dropdown](/app-editor/page-editor/built-in-elements/dropdown.md) element.

<figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FVCXcJgwt48tH9Fx614rn%2Fimage.png?alt=media&amp;token=1b6246f3-d739-437c-b506-72bfe949a8db" alt=""><figcaption><p>A Button Toolbar with Input groups and Button Group</p></figcaption></figure>

It makes it easy to create visually appealing and functional toolbars for your Zingy app.

To control the horizontal alignment use the Button Toolbar element inside a [Flexible Area](/app-editor/page-editor/built-in-elements/flexible-area.md) and use the [Horizontal Align](/app-editor/page-editor/built-in-elements/flexible-area.md#horizontal-align) setting.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zingy.ai/app-editor/page-editor/built-in-elements/button-toolbar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
