> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wizflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditional Blocks

> Show or hide blocks in the Live Page Builder with if/else logic

The **Conditional block** is a special meta block in the [Live Page Builder](/features/live-page-builder) that controls the visibility of the blocks inside it. Wrap any blocks in a conditional and attach an **if/else chain** — the same conditional logic you already use for edge conditionals in the flow — to decide what each user sees.

<Frame caption="Adding an if/else chain to control block visibility in the Live Page Builder">
  <video controls className="w-full aspect-video rounded-xl" src="https://mintcdn.com/dreamplan-d87d53ea/DbfMM81slbjYtrVD/resources/live-page-conditional-block.mp4?fit=max&auto=format&n=DbfMM81slbjYtrVD&q=85&s=8d2d6205929239d772d605914b434526" data-path="resources/live-page-conditional-block.mp4" />
</Frame>

***

## How It Works

A conditional block evaluates one or more conditions against your flow's data and renders the matching branch:

* **If** a condition is met, the blocks in that branch are shown
* **Else** branches act as fallbacks when no earlier condition matches
* Blocks in branches that don't match are not rendered

Because it's a regular block, you can place a conditional anywhere on the page and nest other blocks — including content, media, and even other conditionals — inside its branches.

***

## Use Cases

* **Personalized sections** — show a pension summary only to users who completed the pension questions
* **Segment-specific content** — display different calls-to-action based on a user's answers
* **Eligibility-driven pages** — reveal an offer or next step only when the user qualifies
* **Graceful fallbacks** — present default content when the data needed for a richer block isn't available

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Live Page Builder" icon="pen-ruler" href="/features/live-page-builder">
    Back to the visual builder overview
  </Card>

  <Card title="Conditional Logic & Routing" icon="code-branch" href="/features/conditional-logic-routing">
    Learn the conditional model used across the flow
  </Card>
</CardGroup>
