> For the complete documentation index, see [llms.txt](https://docs.plume.moe/norska/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plume.moe/norska/features/conditional-rendering.md).

# Conditional rendering

Since Norska's scene is affected by alpine the same way the DOM is, Norska supports conditional rendering of everything that composes your scene. Just wrap any element in a [`<template>` tag with the `x-if` directive](https://alpinejs.dev/directives/if).

{% hint style="warning" %}
All directives and functions will then be re-executed, which can be very costly in terms of performance. If you just want to make an element disappear, use [Object3D's visible property](https://threejs.org/docs/#api/en/core/Object3D.visible) instead.
{% endhint %}
