Block elements
Block elements are the controls people use — buttons, menus, pickers, inputs — and the small images in context and section blocks. A control in a message from your app sends you a block_actions payload when it’s used.
| Name | Type | Summary |
|---|---|---|
| Button element | button |
Allows users a direct path to performing basic actions. |
| Checkboxes element | checkboxes |
Allows users to choose multiple items from a list of options. |
| Date picker element | datepicker |
Allows users to select a date from a calendar style UI. |
| Datetime picker element | datetimepicker |
Allows users to select both a date and a time of day. |
| Email input element | email_text_input |
Allows user to enter an email into a single-line field. |
| Feedback buttons element | feedback_buttons |
Buttons to indicate positive or negative feedback, shown as a thumbs up and a thumbs down. |
| File input element | file_input |
Allows user to upload files. |
| Icon button element | icon_button |
A small button that shows an icon instead of text. |
| Image element | image |
Displays an image as part of a larger block of content. |
| Multi-select menu element | multi_static_select |
Allows users to select multiple items from a list of options. |
| Number input element | number_input |
Allows user to enter a number into a single-line field. |
| Overflow menu element | overflow |
Allows users to press a button to view a list of options. |
| Plain-text input element | plain_text_input |
Allows users to enter freeform text data into a single-line or multi-line field. |
| Radio button group element | radio_buttons |
Allows users to choose one item from a list of possible options. |
| Rich text input element | rich_text_input |
Allows users to enter formatted text in a WYSIWYG editor, much like the Repzo Chat composer. |
| Select menu element | static_select |
Allows users to choose an option from a drop down menu. |
| Time picker element | timepicker |
Allows users to choose a time from a list or type it in. |
| URL input element | url_text_input |
Allows user to enter a URL into a single-line field. |
| URL source element | url |
Displays a URL source — a link the task’s result is based on. |
| Workflow button element | workflow_button |
A button that carries a workflow trigger with customizable inputs. |