---
title: "Switch"
canonical: "https://support.appfire.com/space/PSCONF/15305852/Switch"
format: markdown
---
> Macro (aura-html)

The switch statement is somewhat similar to an if/else statement but can be easier to read when there are many different possible conditions.

## Example 1

> Macro (excerpt-include)