Skip to content

Drag-and-drop editor blocks

Editor blocks are the tiles you drag into rows and columns in the drag-and-drop editor.

Select the editor you’re using:

In-app message editor blocks

Editor blocks are in the Build section for in-app messages. Drag a block into a column; it auto-adjusts to the column width. Select a block to edit its settings in the right-side panel.

For more information about creating in-app messages in the Drag-And-Drop Editor, see Create an in-app message with drag-and-drop.

Title and paragraph

Adds title or paragraph text to the message.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Text color Modifies the color of the text.

Button

Adds a standard button with configurable styling, links, and analytics.

Property Description
Button width Modifies the width of the button to be automatic or manual.
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Letter spacing Modifies the distance in between each character.
Button alignment Moves the button to be left, center, or right-oriented.
Button text color Modifies the color of the text on the button.
Background color Modifies the color of the button’s background.
Border style Determines the style of the button’s border.
Border radius Determines how round the corners are.

On-click behavior

Action Description
Submit form when button is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the button for each platform separately.
On-click behavior Determines the action when the user clicks the button, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the button updates the user’s profile with custom data. You can also select the identifier for reporting.

Radio button

Adds a list of options from which users can select one. When submitted, the user profile logs the associated custom attribute, which must be a string to be saved. Custom attributes with other data types do not save to the user profile.

Property Description
Custom attribute name Selects which custom user attribute stores the user’s selected option when the form is submitted.
Total choices The list of options; each option has a Label text (what users see) and an Attribute value (what is stored). You can add up to 15 choices, with a minimum of 2.
Font family Typeface for the radio group text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical spacing between lines of text.
Text color Color of the option label text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the choices within the block.
Accent color Color used for the radio button controls (such as the selected state indicator).
Padding Spacing around the block.

Image

Inserts an image from the media library.

Property Description
URL The hosted address for the image.
Alignment Moves the image to be left, center, or right-oriented.
Background color Modifies the color of the image’s background.
Border style Determines the style of the image’s border.
Border radius Determines how round the corners of the image are.

For image specifications, refer to our in-app message image specifications.

On-click behavior

Action Description
Alt text The written copy that appears in place of an image if the image fails to load. Screen readers announce alt text to explain images, so use plain language to provide key information about an image.
Submit form when image is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the image for each platform separately.
On-click behavior Determines the action when the user clicks the image, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the image updates the user’s profile with custom data. You can also select the identifier for reporting.

Inserts a hyperlink that users can click to navigate to a specified URL. Can be embedded within text or standalone.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Letter spacing Modifies the distance in between each character.
Text color Modifies the color of the text.

On-click behavior

Action Description
URL The hyperlink to navigate to.
Identifier for Reporting Determines the identifier for reporting.

Spacer

Adds space or padding between other blocks.

Property Description
Background color Modifies the background color of the spacer.
Height Modifies the height of the spacer. You can also modify this by using the resize handles on the spacer.

Custom code

Inserts custom HTML, CSS, or JavaScript for advanced customization.

Property Description
Custom code Allows you to add, edit, or delete HTML, CSS, and JavaScript for an in-app message.

Phone capture

Inserts a form field for phone numbers. When submitted, the user is subscribed to the SMS or WhatsApp subscription group.

Property Description
Subscription group The SMS or WhatsApp subscription group the user is subscribed to on submit. Includes an option to collect phone numbers from all countries.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder phone number to display.

Email capture

Inserts a form field for email addresses. When submitted, the email address is added to that user’s profile in Braze.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Text color Modifies the color of the text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder email address to display.

Short text

Inserts a form field that supports standard attributes (such as first and last name) or a custom attribute string of your choice.

Property Description
Required input field Marks whether the field must be filled before the form can be submitted.
Maximum characters Limits how many characters a user can type (string custom attributes cap at 255).
Placeholder text Text shown inside the input until the user types.
Attribute Stores the submitted value as First name, Last name, or a Custom attribute on the user profile.
Custom attribute name Selects which string custom attribute receives the submitted value (available when Attribute is set to Custom attribute).
Font family Typeface for the input text.
Font weight Thickness (such as light, normal, or bold) of the input text.
Font size Size of the input text.
Line height Vertical spacing between lines of text.
Letter spacing Horizontal spacing between characters.
Color Color of the text typed in the field.
Text alignment Horizontal alignment of the input text within the field.
Padding Spacing around the block.

Dropdown

Inserts a dropdown with a predefined list of items from which users can select one. You can add any custom attribute strings to the list.

Property Description
Required input field Marks whether the user must select an option before the form can be submitted.
Placeholder text Text shown in the dropdown until a user selects an option.
Custom attribute name Selects which custom user attribute receives the selected value.
Total options The list of options; each option has an Option label (what users see) and an Attribute value (what is stored).
Font family Typeface for the dropdown text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical line spacing.
Text color Color of the dropdown text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the dropdown (left or center).
Padding Spacing around the block.

Checkbox

Inserts a checkbox. If the user checks the box, the block’s boolean custom attribute is set to true. If left unchecked, its attribute is set to false.

Property Description
Required input field Marks whether the checkbox must be checked before the form can be submitted.
Custom attribute name Selects which boolean custom attribute receives true when checked or false when unchecked.
Accent color Color used for the checkbox control styling.
Padding Spacing around the block.

Checkbox group

Users can select from multiple choices. Values are set or added to a defined array custom attribute.

Property Description
Required input field Marks whether the user must select at least the minimum number of options before submitting.
Minimum choices Minimum number of options a user must select (when the field is required).
Maximum choices Maximum number of options a user can select.
Custom attribute name Selects which array custom attribute the selected values write to.
Action Sets whether submission Sets items (replaces the array) or Adds items (appends to the array).
Total choices The list of options; each option has a Label text (what users see) and an Attribute value (what is stored).
Font family Typeface for option labels.
Font weight Thickness (such as light, normal, or bold) of the option label text.
Font size Size of the option label text.
Line height Vertical spacing between lines of text.
Text color Color of the option label text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the group (start or center).
Accent color Color of the checkbox controls.
Padding Spacing around the block.

Long text

Multi-line text field for survey-style flows. If you don’t see this block, contact Braze Support or your Braze customer success manager.

Property Description
Required input field Marks whether the field must be filled before the form can be submitted.
Minimum characters The minimum number of characters a user must enter.
Maximum characters The maximum number of characters a user can enter.
Hide character count Hides or shows the live character counter below the text area.
Placeholder text Text shown inside the empty text area until the user types.
Height (rows of text) Controls how tall the text area appears, measured in rows.
Font family Typeface for the text area text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical spacing between lines of text.
Text color Color of the text.
Letter spacing Horizontal spacing between characters.

Things to know

Landing page editor blocks

Editor blocks for landing pages are in the Build section of the Drag-And-Drop Editor, under Rows and block categories. Drag a block into a row column; it auto-adjusts to the column width. Select a block to edit its settings in the right-side properties panel.

For more information about creating and publishing landing pages, see Create landing pages.

Title and paragraph

Adds heading or body text. Useful for structuring sections and improving readability.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Text color Modifies the color of the text.

Button

Adds a clickable element for actions such as opening a link or submitting a form.

Property Description
Button width Modifies the width of the button to be automatic or manual.
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Letter spacing Modifies the distance in between each character.
Button alignment Moves the button to be left, center, or right-oriented.
Button text color Modifies the color of the text on the button.
Background color Modifies the color of the button’s background.
Border style Determines the style of the button’s border.
Border radius Determines how round the corners are.

On-click behavior

Action Description
Submit form when button is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the button for each platform separately.
On-click behavior Determines the action when the user clicks the button, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the button updates the user’s profile with custom data. You can also select the identifier for reporting.

Radio button

Adds a list of options from which users can select one. Use the properties panel to configure the available options and the custom attribute that receives the selected value. The user profile logs the selected value as a string custom attribute when the form is submitted. Custom attributes with other data types do not save to the user profile.

Property Description
Custom attribute name Selects which custom user attribute stores the user’s selected option when the form is submitted.
Total choices The list of options; each option has a Label text (what users see) and an Attribute value (what is stored). You can add up to 15 choices, with a minimum of 2.
Font family Typeface for the radio group text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical spacing between lines of text.
Text color Color of the option label text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the choices within the block.
Accent color Color used for the radio button controls (such as the selected state indicator).
Padding Spacing around the block.

Image

Displays an image from an upload or external URL.

Property Description
URL The hosted address for the image.
Alignment Moves the image to be left, center, or right-oriented.
Background color Modifies the color of the image’s background.
Border style Determines the style of the image’s border.
Border radius Determines how round the corners of the image are.

On-click behavior

Action Description
Alt text The written copy that appears in place of an image if the image fails to load. Screen readers announce alt text to explain images, so use plain language to provide key information about an image.
Submit form when image is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the image for each platform separately.
On-click behavior Determines the action when the user clicks the image, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the image updates the user’s profile with custom data. You can also select the identifier for reporting.

Adds a hyperlink users can select to go to a URL. Can sit in text or stand alone.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Letter spacing Modifies the distance in between each character.
Text color Modifies the color of the text.

On-click behavior

Action Description
URL The hyperlink to navigate to.
Identifier for Reporting Determines the identifier for reporting.

Spacer

Adds vertical spacing between elements.

Property Description
Background color Modifies the background color of the spacer.
Height Modifies the height of the spacer. You can also modify this by using the resize handles on the spacer.

Custom code

Inserts custom HTML, CSS, or JavaScript for advanced customization, such as Google Tag Manager.

Property Description
Custom code Allows you to add, edit, or delete HTML, CSS, and JavaScript.

Email capture

Adds a form field for email addresses. On submit, the address is saved to the user’s Braze profile.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Text color Modifies the color of the text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder email address to display.

Phone capture

Adds a form field for phone numbers. On submit, subscribes the user to your selected SMS or WhatsApp subscription group.

Property Description
Subscription group The SMS or WhatsApp subscription group the user is subscribed to on submit. Includes an option to collect phone numbers from all countries.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder phone number to display.

Input field

Adds a form field for standard attributes (for example, first or last name) or a custom attribute string.

Property Description
Required input field Marks whether the field must be filled before the form can be submitted.
Maximum characters Limits how many characters a user can type (string custom attributes cap at 255).
Placeholder text Text shown inside the input until the user types.
Attribute Stores the submitted value as First name, Last name, or a Custom attribute on the user profile.
Custom attribute name Selects which string custom attribute receives the submitted value (available when Attribute is set to Custom attribute).
Font family Typeface for the input text.
Font weight Thickness (such as light, normal, or bold) of the input text.
Font size Size of the input text.
Line height Vertical spacing between lines of text.
Letter spacing Horizontal spacing between characters.
Color Color of the text typed in the field.
Text alignment Horizontal alignment of the input text within the field.
Padding Spacing around the block.

Dropdown

A predefined list of items; users pick one. You can map values to custom attribute strings.

Property Description
Required input field Marks whether the user must select an option before the form can be submitted.
Placeholder text Text shown in the dropdown until a user selects an option.
Custom attribute name Selects which custom user attribute receives the selected value.
Total options The list of options; each option has an Option label (what users see) and an Attribute value (what is stored).
Font family Typeface for the dropdown text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical line spacing.
Text color Color of the dropdown text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the dropdown (left or center).
Padding Spacing around the block.

Checkbox

When checked, sets the block’s boolean custom attribute to true; when unchecked, to false.

Property Description
Required input field Marks whether the checkbox must be checked before the form can be submitted.
Custom attribute name Selects which boolean custom attribute receives true when checked or false when unchecked.
Accent color Color used for the checkbox control styling.
Padding Spacing around the block.

Checkbox group

Users pick multiple options; values set or append to a defined array custom attribute.

Property Description
Required input field Marks whether the user must select at least the minimum number of options before submitting.
Minimum choices Minimum number of options a user must select (when the field is required).
Maximum choices Maximum number of options a user can select.
Custom attribute name Selects which array custom attribute the selected values write to.
Action Sets whether submission Sets items (replaces the array) or Adds items (appends to the array).
Total choices The list of options; each option has a Label text (what users see) and an Attribute value (what is stored).
Font family Typeface for option labels.
Font weight Thickness (such as light, normal, or bold) of the option label text.
Font size Size of the option label text.
Line height Vertical spacing between lines of text.
Text color Color of the option label text.
Letter spacing Horizontal spacing between characters.
Align Horizontal alignment of the group (start or center).
Accent color Color of the checkbox controls.
Padding Spacing around the block.

Long text

Multi-line text field for survey-style flows. If you don’t see this block, contact Braze Support or your Braze customer success manager.

Property Description
Required input field Marks whether the field must be filled before the form can be submitted.
Minimum characters The minimum number of characters a user must enter.
Maximum characters The maximum number of characters a user can enter.
Hide character count Hides or shows the live character counter below the text area.
Placeholder text Text shown inside the empty text area until the user types.
Height (rows of text) Controls how tall the text area appears, measured in rows.
Font family Typeface for the text area text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical spacing between lines of text.
Text color Color of the text.
Letter spacing Horizontal spacing between characters.

Things to know

  • Video: The standard composer does not include a dedicated video block. Use Custom code to embed a player if needed. For more information, see Landing pages.

Banner editor blocks

In the Banner composer, drag rows and blocks from the Build section into the canvas to lay out your message. Select Styles to adjust page-level styling, or select a block or row to edit its properties in the side panel.

For the full Banner creation flow, see Create a Banner.

The Banner composer offers the same kinds of layout blocks as other drag-and-drop surfaces, but not the full form block set (for example no radio button, short text, dropdown, or checkbox blocks). You can add Phone capture and Email capture blocks; only one phone capture and one email capture block are allowed per message.

Title and paragraph

Adds heading or body text with rich text options.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Text color Modifies the color of the text.

Button

Adds a clickable button. You can set links and analytics options in the properties panel.

Property Description
Button width Modifies the width of the button to be automatic or manual.
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Letter spacing Modifies the distance in between each character.
Button alignment Moves the button to be left, center, or right-oriented.
Button text color Modifies the color of the text on the button.
Background color Modifies the color of the button’s background.
Border style Determines the style of the button’s border.
Border radius Determines how round the corners are.

On-click behavior

Action Description
Submit form when button is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the button for each platform separately.
On-click behavior Determines the action when the user clicks the button, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the button updates the user’s profile with custom data. You can also select the identifier for reporting.

For more information, see Define on-click behavior in the Banner article.

Image

Displays an image from a hosted URL. Configure display options in the properties panel.

Property Description
URL The hosted address for the image.
Alignment Moves the image to be left, center, or right-oriented.
Background color Modifies the color of the image’s background.
Border style Determines the style of the image’s border.
Border radius Determines how round the corners of the image are.

On-click behavior

Action Description
Alt text The written copy that appears in place of an image if the image fails to load. Screen readers announce alt text to explain images, so use plain language to provide key information about an image.
Submit form when image is clicked Submits the form and performs the selected on-click behavior. Turn this off to only perform the on-click behavior.
Set separate behaviors for each platform Customizes the behavior of the image for each platform separately.
On-click behavior Determines the action when the user clicks the image, such as closing the message, opening a web URL, deep linking into a specific page of the app, going to another page, or requesting push permission.
Log custom attributes or events Determines whether clicking the image updates the user’s profile with custom data. You can also select the identifier for reporting.

Inserts a hyperlink users can select.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Letter spacing Modifies the distance in between each character.
Text color Modifies the color of the text.

On-click behavior

Action Description
URL The hyperlink to navigate to.
Identifier for Reporting Determines the identifier for reporting.

Spacer

Adds vertical spacing between blocks.

Property Description
Background color Modifies the background color of the spacer.
Height Modifies the height of the spacer. You can also modify this by using the resize handles on the spacer.

Custom code

Inserts custom HTML for advanced layouts or embedded content (for example video). Clicks inside custom HTML are not tracked unless you call brazeBridge.logClick() — see Custom code and JavaScript bridge for Banners.

Property Description
Custom code Add or edit HTML (and related assets) for the Banner.

Phone capture

Collects a phone number. On submit, subscribes the user to your selected SMS or WhatsApp subscription group. Only one per Banner.

Property Description
Subscription group The SMS or WhatsApp subscription group the user is subscribed to on submit. Includes an option to collect phone numbers from all countries.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder phone number to display.

Email capture

Collects an email address and adds it to the user’s Braze profile on submit. Only one per Banner.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Text color Modifies the color of the text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Placeholder text A placeholder email address to display.

Long text

Multi-line text field for survey-style flows. If you don’t see this block, contact Braze Support or your Braze customer success manager.

Property Description
Required input field Marks whether the field must be filled before the form can be submitted.
Minimum characters The minimum number of characters a user must enter.
Maximum characters The maximum number of characters a user can enter.
Hide character count Hides or shows the live character counter below the text area.
Placeholder text Text shown inside the empty text area until the user types.
Height (rows of text) Controls how tall the text area appears, measured in rows.
Font family Typeface for the text area text.
Font weight Thickness (such as light, normal, or bold) of the text.
Font size Size of the text.
Line height Vertical spacing between lines of text.
Text color Color of the text.
Letter spacing Horizontal spacing between characters.

Things to know

Preference center editor blocks

Drag blocks from the Build section into a row in the drag-and-drop preference center editor. Each block has its own settings; the right-side panel switches to properties or styling for the selected element.

Before you edit blocks, add subscription groups and configure the subscription smart block (see below). For the full setup flow, see Create an email preference center with drag-and-drop.

Title and paragraph

Adds heading or body copy with rich text options.

Property Description
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Line height Modifies the distance between lines of text.
Letter spacing Modifies the distance in between each character.
Text alignment Moves the text to be aligned left, center, right, or justified.
Text color Modifies the color of the text.

Button

Adds a clickable button (for example Save or navigation).

Property Description
Button width Modifies the width of the button to be automatic or manual.
Font family The font style for the text.
Font weight Determines the thickness of the text.
Font size Determines the size of the text.
Letter spacing Modifies the distance in between each character.
Button alignment Moves the button to be left, center, or right-oriented.
Button text color Modifies the color of the text on the button.
Background color Modifies the color of the button’s background.
Border style Determines the style of the button’s border.
Border radius Determines how round the corners are.

Image

Displays an image from the media library or a URL.

Property Description
URL The hosted address for the image.
Alignment Moves the image to be left, center, or right-oriented.
Background color Modifies the color of the image’s background.
Border style Determines the style of the image’s border.
Border radius Determines how round the corners of the image are.

Spacer

Adds vertical spacing between blocks.

Property Description
Background color Modifies the background color of the spacer.
Height Modifies the height of the spacer. You can also modify this by using the resize handles on the spacer.

Subscription groups (smart block)

Adds a template block that lists subscription groups, optional Subscribe to all / Unsubscribe from all controls, and descriptions. Configure it after you add groups in the preference center workflow.

After you add subscription groups, select the smart block in the canvas to:

  • Reorder subscription groups
  • Add or remove groups
  • Add or remove descriptions
  • Toggle Subscribe to all and Unsubscribe from all for the groups in that block

The Unsubscribe from all control at the bottom of the default template is required and performs a global unsubscribe from email.

Things to know

  • Common styles: You can set page-wide defaults under Common Styles before adjusting individual blocks. For more information, see Customize the preference center using the drag-and-drop editor.
  • Confirmation page: Switch to Confirmation Page at the top of the editor to style the post-save experience using the same block types.
New Stuff!