# Conditional Visibility

You can toggle the visibility of settings by adding the field `visible_if` to any setting. The following example shows a text input that relies on the value of the checkbox to be visible.

```json
{
  ...,
  "sections": [
    {
      ...
      "settings": [
          {
            "type": "checkbox",
            "id": "hide_dots",
            "label": {
              "ar": "إخفاء النقاط",
              "en": "Hide dots"
            },
            "default": true
          },
          {
            "type": "text",
            "id": "text_input",
            "label": { ... },
            "visible_if": {
              "hide_dots": false
            }
          }
      ]
    }
  ]
}

```
