Skip to main content
The divider element renders a horizontal rule between elements. Use it to separate content sections. The type value is "divider". When to use:
  • Separate distinct sections of content
  • Create visual breaks between related items
  • Improve readability in long notifications
  • Organize grouped content visually
Basic example
Fields
string
The CSS color of the divider line. Any valid CSS color value (e.g., "#e0e0e0", "rgb(224, 224, 224)", "gray"). Defaults to a standard gray.
string
Border width in pixels for the divider line (e.g., "1px", "2px").
string
Padding around the divider. Any valid CSS padding value (e.g., "10px", "20px 10px").
string[]
An array of channel names. The divider renders only for the listed channels. See .
Examples and variants Basic divider Simple divider with default styling:
Styled divider Divider with custom color:
Thick divider Divider with custom width:
Divider with padding Divider with spacing:
Section separator Using dividers to separate content sections:
Channel support
  • Email: ✅ Full support with styling
  • Push: ⚠️ Limited support (may render as plain text or be ignored)
  • SMS: ❌ Not supported (dividers are not rendered)
  • Inbox: ✅ Full support with styling