Buttons
Buttons can sit in an Action Row or serve as the single accessory beside Section text. The style determines both appearance and which destination fields are valid.
Change the style directly
Section titled “Change the style directly”Select the Button and open the style swatch in its node controls. Choose one of the six styles below. With a keyboard, Enter opens the picker, arrow keys move between styles, Enter chooses and Escape closes it. You can also tap a style on a phone.
| Style | Intended visual role | Required setting |
|---|---|---|
| Primary | Main action, blue | Custom ID |
| Secondary | Supporting action, neutral | Custom ID |
| Success | Positive action, green | Custom ID |
| Danger | Destructive or negative action, red | Custom ID |
| Link | Opens a website, with an external-link symbol | URL |
| Premium | Discord purchase button | SKU ID |
Send through the bot to use interactive Buttons in styles 1–4.
Label, emoji and disabled state
Section titled “Label, emoji and disabled state”Click a normal Button’s text to write its label, up to 80 characters. Use the emoji control beside the style swatch to choose Unicode emoji, search the picker or enter custom Discord emoji syntax/ID.
Use Disabled to prevent clicks.
Open More actions (…) for Component ID or Custom ID. Configure holds the URL for Link Buttons or the SKU for Premium Buttons.
Link and Premium fields
Section titled “Link and Premium fields”For a website, choose Link, then open Configure and enter a complete URL, up to 512 characters. The label describes the destination, such as “Read the schedule”. Pasting a URL into the label alone does not set that destination.
For styles 1–4, Custom ID identifies the action sent to an application. It is not a link or executable code. Use a non-empty identifier up to 100 characters, unique among the message’s interactive custom IDs.
Premium requires a real purchasable SKU ID associated with the application. It does not accept an ordinary label, emoji, URL or custom ID. Discord supplies the purchase presentation, and the local example does not verify that its demonstration SKU exists. Premium and Link Buttons do not generate an interaction.
Changing styles removes incompatible fields from the message. Undo restores the previous style and its fields, so you can recover a label after testing Premium. Replacing a Section’s Button with a Thumbnail creates a different accessory, also recoverable with Undo.
The Discord Button reference describes style-specific fields.
Reply to a click
Section titled “Reply to a click”Open Source in the interactive Button’s controls, write the reply and save the Kit. You can move or resize the panel and keep several Sources open while editing.
Send the Kit through the bot to use its responses in Discord. Editing and saving a Source changes future replies, including clicks on older messages. The Source guide covers sending, updating and removing responses.