Basic Example
Live Example
Example Code
Properties
Identifies this as a text blockMust be
textThe 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-largeText alignment within the blockAllowed values:
start, center, endUsage 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
