Documentation

Smart Marketing Blocks Documentation

Product guidance, setup notes and block reference articles for Smart Marketing Blocks customers.

Content Toggle

Purpose

The block switches between two content variants. Common use cases include monthly and yearly plans, two offers, different instruction versions, or audience comparisons.

Content

  • Title A: the first variant heading, edited directly in the block.
  • Content A: the first variant text.
  • Title B: the second variant heading.
  • Content B: the second variant text.

Settings

  • First label: the text of the first toggle button.
  • Second label: the text of the second toggle button.

Frontend Behavior

The first panel is active by default. When a user clicks the buttons, the block updates aria-selected on the buttons and hides the inactive panel with hidden.

Availability

This is a Pro block. It appears in the editor only when Pro mode is active.