Text Block

The text block renders a line or paragraph of text. Use it for titles, descriptions, status messages, or any narrative content.

Fields

Field Type Required Values Default
type string Yes "text"
content string Yes Any text
size string No "sm", "md", "lg", "xl" "md"
bold boolean No true, false false

Sizes

Value Description
"sm" Small, muted text — good for captions or footnotes
"md" Default body text
"lg" Large text — good for section headers
"xl" Extra large — good for card titles or key numbers

Examples

Basic

{
  "type": "text",
  "content": "Order has been processed successfully."
}

Title

{
  "type": "text",
  "content": "New Lead Captured",
  "size": "xl",
  "bold": true
}

Section Header

{
  "type": "text",
  "content": "Customer Details",
  "size": "lg",
  "bold": true
}

Caption

{
  "type": "text",
  "content": "Last updated 2 minutes ago",
  "size": "sm"
}

Patching

{
  "id": "my-text-block",
  "patch": {
    "content": "Updated message here",
    "bold": false
  }
}