
Block Kit | Slack
Blocks are visual components that can be stacked and arranged to create app layouts. Read our guide to learn how you can construct stacks of blocks and add them to your app's surfaces.
Reference: blocks | Slack
This block can be used with AI apps when you expect a markdown response from an LLM that can get lost in translation rendering in Slack. Providing it in a markdown block leaves the translating to Slack to ensure your message appears as intended.
Building with Block Kit | Slack
The Block Kit UI framework is built with blocks, block elements and composition objects. Blocks are visual components that can be arranged to create app layouts. Apps can add blocks to surfaces like the Home tab , messages and modals .
Reference: Block Kit | Slack
Blocks are visual components that can be arranged to create app layouts. Apps can add blocks to surfaces like App Home , messages and modals . Blocks may also contain block elements .
Reference: block elements & interactive components | Slack
A comprehensive breakdown of elements that add images or interactivity to blocks.
Designing with Block Kit | Slack
Here are our tips and recommendations for how to make your apps accessible when using Block Kit to compose your app's surfaces. Keep content clear and concise . Here are some general guidelines for content in Slack apps. Do: Use short, clear sentences and paragraphs. Explain abbreviations. Don't:
Formatting text for app surfaces | Slack
While message text formatting can improve information density and visual hierarchy at a basic level, you can combine that with Block Kit layout blocks and block elements to vastly expand the possibilities for visual organization.
Reference: Block actions payloads | Slack
A block_actions payload is received when a user interacts with a Block Kit interactive component. Read our guide to handling payloads from user interactions to learn how your app should process and respond to these payloads.
Upgrading outmoded dialogs to modals | Slack
Blocks such as input and elements like select menus replicate fields that could be added to dialogs. There are also additional blocks that your app can use to improve the user experience and simplify the payload your app receives on submission: Date pickers allow your app to collect dates through a calendar interface. This provides a better ...
Reference: composition objects | Slack
Composition objects can be used inside of block elements and certain message payload fields. They are common JSON object patterns that you'll encounter frequently when building blocks or composing messages. The lists of fields and values below describe the JSON that apps can use to generate each object.