Logic Primitives

A primitive is based on a component and looks like one but generates only logic when translated to code.

To use the Logic Primitives, select them from either the top toolbar or right-click a component. You will see an option to Wrap in.
When selected from the toolbar, the currently selected frame will get the Logic Primitive of choice.
When choosing the Wrap in option; the primitive will wrap the currently selected component and all of its children (if applicable).

Logic Primitives in the toolbar

Logic Primitives in the toolbar

Wrap-in option for Logic Primitive

Wrap-in option for Logic Primitive

If

The If primitive renders its children based on a condition.

Loop

The Loop primitive renders its children n times based on an item's value.


More info

📘

Watch on YouTube an overview of Application bar and Toolbar