> For the complete documentation index, see [llms.txt](https://docs.asagi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asagi.xyz/server-control/interactive-messages/buttons-and-select-menus.md).

# Buttons & Select Menus

Buttons and select menus are the interactive components members use inside an Interactive Message.

They are configured in the Interactive Message editor under **Dashboard → Server Control → Interactive Messages**.

### Buttons

A button can use one of five Discord styles:

* **Primary**;
* **Secondary**;
* **Success**;
* **Danger**;
* **Link**.

Buttons can use a label, an emoji, or both. A label can contain up to **80 characters**.

You can place up to **5 buttons in one row**, reorder them, and disable individual buttons when needed.

> 🖼️ **Button editor**
>
> Each button can be styled and connected to the behavior you want members to trigger.

<figure><img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2F1YCfVI84kmf3ohHB5sCU%2Fedit_buttons_transparent_clean_2x.webp?alt=media&amp;token=3253ffce-62e9-45f4-ab52-d649fcc7fabc" alt=""><figcaption></figcaption></figure>

#### Link Buttons

A **Link** button opens a URL instead of running an Asagi action.

Because Discord handles the link directly, Link buttons do not have actions attached to them.

### Select Menus

A select menu presents a list of options inside a dropdown.

Each menu can contain up to **25 options**. An option can include:

* a label;
* an optional description;
* an optional emoji;
* one or more actions.

The placeholder can contain up to **150 characters**. Option labels and descriptions can contain up to **100 characters** each.

> 🎬 **Create a select menu**
>
> See how to add options, customize the menu, and connect an option to an action.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FudPLTax9JnXL0kIQocxB%2Finteractive%20messages%20create%20a%20select%20menu.mp4?alt=media&token=40f28fc1-6634-43f7-8acd-f2ca8280f01c>" %}

### Multiple Selections

Enable multiple selections when members should be able to choose more than one option at a time.

You can set the minimum and maximum number of selections. When several options are selected, Asagi runs the actions attached to all selected options.

After an interaction is handled, the menu does not keep a permanent selected state.

### Component Layout

Discord allows a maximum of **5 component rows** in one message.

Each select menu uses one full row. Button groups use the remaining rows, with up to 5 buttons in each button row.

For example, two select menus leave three rows available for buttons.

### Disabled and Reordered Components

Buttons, select menus, and menu options can be reordered in the editor. Buttons and complete select menus can also be disabled without removing their configuration.

### Where to Go Next

Continue with [**Actions**](https://docs.asagi.xyz/server-control/interactive-messages/actions.md) to choose what each button or select-menu option does.
