:if directive allows to conditionally display a tag and its descendants.

Example #

<p :if="state.count < 5">Less than 5</p>
<!-- Will be displayed if the condition is met -->