# Button Group

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="/files/ZAtTD5uaqX62tpiuniZD" 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: 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.feathery.io/platform/build-forms/elements/fields/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.
