> For the complete documentation index, see [llms.txt](https://docs.feathery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feathery.io/platform/build-forms/elements/fields/button-group.md).

# Button Group

The Feathery Button Group field allows users to create a group of selectable buttons with different values, labels, and icons.

The `Button Group` field allows the user to select an option from a group of buttons, each representing a selectable option. Each option can contain both text and images, and you can set the button group to either single-select or multi-select.

By default, the `height` and `width` styles will set a fixed dimension for each button in the group. However, you can make your buttons content-aware by toggling `Responsive Button Widths` on. This will treat your `width` as a minimum and grow buttons dynamically depending on the size of their content.

<figure><img src="https://640450274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHAVngDAEk3s8Bw7P6Ntz%2Fuploads%2FI0XRlTQk1rDkadwVvmHu%2Fdocs_element-bttn-group.png?alt=media&amp;token=ba71e509-78a1-4165-b210-3f4d9be0667f" alt="Screenshot of a button group element selected."><figcaption></figcaption></figure>

### For Developers <a href="#example" id="example"></a>

The Feathery SDK and API reference button group fields with `type` equal to `button_group`. The submitted value is a `string`.


---

# 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.feathery.io/platform/build-forms/elements/fields/button-group.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.
