Divider Block

The divider block renders a horizontal rule to visually separate sections of a card.

Fields

Field Type Required Description
type string Yes "divider"

No other fields.

Example

{
  "type": "divider"
}

Usage Pattern

Use dividers to break a card into logical sections:

{
  "blocks": [
    { "type": "text", "content": "Order Summary", "size": "lg", "bold": true },
    { "type": "kv", "rows": [
      { "key": "Items", "value": "3" },
      { "key": "Subtotal", "value": "$79.99" }
    ]},
    { "type": "divider" },
    { "type": "text", "content": "Shipping", "size": "lg", "bold": true },
    { "type": "kv", "rows": [
      { "key": "Method", "value": "Express" },
      { "key": "Cost", "value": "$9.99" }
    ]},
    { "type": "divider" },
    { "type": "text", "content": "Total: $89.99", "size": "xl", "bold": true }
  ]
}