Basic Example
Live Example
Example Code
Properties
Identifies this as a text blockMust be
text
The text content to display, may include replacement tokens like
Optional key-value pairs for text replacements
The HTML element type to render as (e.g., ‘span’, ‘div’, ‘p’)
Margin spacing around the text blockAllowed values:
none
, auto
, xxx-small
, xx-small
, x-small
, small
, medium
, large
, x-large
, xx-large
Text alignment within the blockAllowed values:
start
, center
, end
Usage Notes
- This element is part of the BlockKit system for building dynamic user interfaces
- All properties marked as (required) must be included in your JSON structure
- Optional properties can be omitted and will use their default values when applicable