Conditional rendering

You can use subviews to conditionally render components in your application. Add a Reutilized Component to your page.
In this example we are going to use a isHappy variable to conditionally render some component.
Then we can bind this variable to a Checkbox Input just to toggle our variable and test our conditional render.
Now we can toggle our Reutilized Component based on this variable value. We just have to bind our components to some reference and add a ternary expression in your JS mode to choose between our references based on the isHappy variable value.
Working example: