Skip to content
Block Kit for React
Esc
↑↓navigate↵open⌘Jpreview
On this page

Blocks overview

What a block is, how block_id works, and every block type @nkootstra/block-kit renders.

A block is one visual unit of a Slack surface: a message, modal, or App Home. Slack composes a blocks array of these JSON objects, and @nkootstra/block-kit renders that same array as React, pixel-for-pixel like Slack.

Every block accepts an optional block_id: a string up to 255 characters that identifies the block. Slack auto-generates one if you omit it, but you should set your own when an interactive element inside the block needs a stable id to key off in onAction handlers, or when you’re updating a specific block later with chat.update. block_id must be unique within a blocks array.

Your AppAPP
Hello, Ada. This is a section block.

Posted by

Layout & text

Media

Input

Data

Agents & AI

Containers

Was this page helpful?