↑↓ to navigate ↵ to select Esc to close

Switch content with states

States let one section show different content without leaving the page: a monthly and a yearly price, a before and after photo, or FAQ topics. A Section or Row holds the states, a State Switcher block lets visitors pick one, and Conditions decide which blocks show in each state.

Add states

  1. Select the Section or Row, open Advanced, and choose Add states.
  2. Give each state a Label and an ID. Each ID must be unique.
  3. Choose Switching: Client-side switches instantly without reloading the page. URL-based reads the state from a URL parameter, so a link can open a specific state.
  4. Choose Apply.
The States dialog with Switching and two states, Before and After

Let visitors switch

Insert a State Switcher block inside the Section or Row. It shows a button for each state. It only works inside a block that has states.

Show blocks for a state

  1. Select a block inside the Section or Row and open the Conditions panel.
  2. Under Show block when, choose Add condition, pick State and the state, with is or is not.
  3. Use Add condition for more, and switch between AND and OR. State conditions can be combined with visitor and product conditions; see Show or hide blocks with conditions.
The Conditions panel with a State condition set to Paper

In the Builder, the canvas shows the blocks for the active state. With URL-based switching, blocks for other states are left out of the page. With client-side switching, they are on the page but hidden until their state is picked.

Sign in Get started