ReferenceInteractions
Component types
Every message and modal component type, including components v2 layout and content.
| Type | Component | Style | Used in | Description |
|---|---|---|---|---|
1 | Action Row | Layout | Container to display a row of interactive components | |
2 | Button | Interactive | Button object | |
3 | String Select | Interactive | Select menu for picking from defined text options | |
4 | Text Input | Interactive | Text input object | |
5 | User Select | Interactive | Select menu for users | |
6 | Role Select | Interactive | Select menu for roles | |
7 | Mentionable Select | Interactive | Select menu for mentionables (users and roles) | |
8 | Channel Select | Interactive | Select menu for channels | |
9 | Section | Layout | Container to display text alongside an accessory component | |
10 | Text Display | Content | Markdown text | |
11 | Thumbnail | Content | Small image that can be used as an accessory | |
12 | Media Gallery | Content | Display images and other media | |
13 | File | Content | Displays an attached file | |
14 | Separator | Layout | Component to add vertical padding between other components | |
17 | Container | Layout | Container that visually groups a set of components | |
18 | Label | Layout | Container associating a label and description with a component | |
19 | File Upload | Interactive | Component for uploading files | |
21 | Radio Group | Interactive | Single-choice set of options | |
22 | Checkbox Group | Interactive | Multi-selectable group of checkboxes | |
23 | Checkbox | Interactive | Single checkbox for yes/no choice |
Button styles 6
| Style | Name | Required field | Use for |
|---|---|---|---|
1 | Primary | custom_id | The most important or recommended action in a group of options |
2 | Secondary | custom_id | Alternative or supporting actions |
3 | Success | custom_id | Positive confirmation or completion actions |
4 | Danger | custom_id | An action with irreversible consequences |
5 | Link | url | Navigates to a URL |
6 | Premium | sku_id | Purchase |
Nothing in this table matches. Try a name, a number or part of the description.