Skip to main content

Overview

The quote element renders a quote block, typically used to highlight important text, testimonials, or call attention to specific content. Quote blocks can be styled with borders, colors, and different text styles. When to use:
  • Display testimonials or customer reviews
  • Highlight important quotes or statements
  • Emphasize key information
  • Create visually distinct text blocks

Basic Example

Fields

type
string
required
The type of element. For quote elements, this value must be "quote".
content
string
required
The text value of the quote. This field supports Handlebars variables for dynamic content.
align
string
Alignment of the quote. One of "center", "left", "right", or "full". Defaults to "left".
border_color
string
CSS border color property for the quote block. Can be any valid CSS color value (e.g., "#007bff", "rgb(0, 123, 255)").
text_style
string
Text style for the quote. One of "text", "h1", "h2", or "subtext". Defaults to "text".
locales
object
Region-specific content for localization. See the Locales documentation for more details.
channels
string[]
An array of channel names. The quote will only be rendered for the specified channels. See Control Flow documentation for details.

Examples & Variants

Basic Quote

Simple quote block:

Styled Quote

Quote with border and styling:

Quote with Handlebars

Dynamic quote content:

Localized Quote

Quote with translations:

Testimonial Quote

Quote styled as a testimonial:

Channel-Specific Quote

Show quotes only for specific channels:

Best Practices

  • Keep quotes concise: Long quotes can be hard to read, especially in email
  • Use appropriate styling: Border colors and text styles help quotes stand out
  • Consider context: Quotes work well for testimonials, important notices, or highlighted information
  • Test alignment: Different alignments can affect readability across channels

Channel Support

  • Email: ✅ Full support with styling and borders
  • Push: ✅ Supported (may render as plain text in some cases)
  • SMS: ⚠️ Limited support (may render as plain text)
  • Inbox: ✅ Full support