# Visibility Property

The Visibility Property allows you to Show/Hide a block and set a default state.&#x20;

* Open the Components Properties modal by clicking the "+" sign.
* Select Visibility in the Properties dropdown.
* Select the Visibility Property you wish to configure.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FNaNRb9sIbIiTyQIyGvT9%2FScreenshot%202023-10-14%20at%2010.50.29.png?alt=media&#x26;token=7849accd-3ffc-49e4-a992-ec4d27263258" alt=""><figcaption></figcaption></figure>

## Connect&#x20;

The Visibility Property needs to be connected for it to be applied to the canvas.&#x20;

{% hint style="info" %}
You need to select "Modify" in the Toolbar or Block Inspector for the blocks that make up a particular component to be visible.
{% endhint %}

* Select the Component to which you want to connect the Visibility Property.
* Select "Modify" in the toolbar or the Block Inspector.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FkK9UfGKn8dPRKt7SPuXD%2FScreenshot%202023-10-14%20at%2010.53.51.png?alt=media&#x26;token=f4950c7c-69de-45b7-a238-d395f8dadd76" alt=""><figcaption></figcaption></figure>

* The blocks contained in the component are now visible in the navigator.
* Find and select the Visibility property you wish to connect in the navigator.
* In the Components Settings tab of the Primary tab, click the Visibility field.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FxNM3h75zCNiTErUAkQ96%2FScreenshot%202023-10-14%20at%2010.58.45.png?alt=media&#x26;token=437df4bd-75d3-4eb0-9889-25bf476c04fe" alt=""><figcaption></figcaption></figure>

* This opens the Component Properties modal.
* Select the Visibility property you wish to connect.
* Click "Connect".

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FMwx7eNN4jVGFWgINI39s%2FScreenshot%202023-10-14%20at%2011.01.23.png?alt=media&#x26;token=ac77e304-8d35-490e-83b9-e30b49429b64" alt=""><figcaption></figcaption></figure>

* The Visibility Property will now be visible in the Visibility field in green which indicates that it is connected.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FMRpfPYWVMiDkHaYlJbUE%2FScreenshot%202023-10-14%20at%2011.04.31.png?alt=media&#x26;token=626d2419-d503-4be1-bbb1-3ce4c2667572" alt=""><figcaption></figcaption></figure>

* In the navigator, select required Component.
* In the Block Inspector, choose required state (Hidden/Visible).

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FBYF4MgRLS05VEdM5jR6l%2FScreenshot%202023-10-14%20at%2011.05.48.png?alt=media&#x26;token=6b578bfb-5ceb-45e0-9dd2-3e6fca9d06ec" alt=""><figcaption></figcaption></figure>

When Visible is selected, the item is visible.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FlCeaWsMfarmKyQ3CJSWB%2FScreenshot%202023-10-14%20at%2011.08.04.png?alt=media&#x26;token=042c629a-c5d4-43c0-92c9-f929052a9b87" alt=""><figcaption></figcaption></figure>

When Hidden is selected, the item is hidden.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FKESMz6WkUaczDACcfwWt%2FScreenshot%202023-10-14%20at%2011.08.45.png?alt=media&#x26;token=6af84870-732d-48c5-9fd2-c883a89c736f" alt=""><figcaption></figcaption></figure>

## Name&#x20;

Allows you to label the selected Visibility property.

* Open the Component Properties modal.
* Select required visibility property.
* Input suitable label name to Name field.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FyFppTKpMtQvOIWH5NBTr%2FScreenshot%202023-10-14%20at%2011.10.17.png?alt=media&#x26;token=7ae0eb70-6d08-43e4-a728-39397c250677" alt=""><figcaption></figcaption></figure>

The required Name label will now be visible in the Block Inspector.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FCpHzCsIfarPPZnoc4jod%2FScreenshot%202023-10-14%20at%2011.13.10.png?alt=media&#x26;token=3459c404-cc50-43e5-acc5-10b936e8dbde" alt=""><figcaption></figcaption></figure>

## Default

Allows you to set a default Visibility state to your component.

* Open the Components Properties by clicking the "+" icon.
* Select required Default state.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIuzRy1wjvncrRhT1Sttv%2FScreenshot%202023-10-14%20at%2011.11.53.png?alt=media&#x26;token=9edce0d7-802e-4466-927f-adff453ebbb3" alt=""><figcaption></figcaption></figure>

The Default Visibility state will now be reflected in the canvas.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FbElVZOBnWqQwnXxZmgCv%2FScreenshot%202023-10-14%20at%2011.17.34.png?alt=media&#x26;token=54a8e532-0144-462c-b384-619ae055c1a5" alt=""><figcaption></figcaption></figure>
