---
description: Use this for editable onboarding and complex form pages.
---

# 2-Column Menu Tabs Page

## Overview

Responsive layout for a two-column page with multiple tabs. This page is ideal for an account or settings page.&#x20;

![](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FxMQjnn5Dd8Ewd6lmcn9c%2F71.png?alt=media\&token=58ce48ac-da63-41cd-8f16-22dcf19252da)

## Structure

* When this page is added to your app, it will come with four main groups:
  * **Group Main**\
    This group contains the responsive settings for all blocks.&#x20;
* **Group Tabs main**\
  This group contains all the tabs content groups.
*   **Blocks container 860 (do not rename)**

    This group contains the responsive settings for all blocks on the page. You should add any new blocks to this group.
* **Group Side Portal Content**\
  This group contains all the menu navigation tabs. There are ten placeholder tabs that you can hide or show.
* This page comes with one popup:
  * **Popup Hidden Variables** contains two groups:
    * **var - Website object**\
      This group stores the website object (e.g., app name, primary color, and etc.)
    * **var - dummy data**\
      A placeholder group in case you want to use any hidden variable groups later.
    * **var - tab url parameter** - This group stores the tab name of which tab the current user is viewing
    * **var - show sidebar?** - This group includes conditional statements on whether or not to show/hide Group Side Portal. The sidebar will be hidden when the current page width is less than or equal to 824.
    * **var - show tabs content groups?** - This group includes conditional statements on whether or not to show/hide **Group Tabs main**. The tabs content group will be hidden when the _current page width is less than or equal to 824_.
* This block will come with one reusable element:
  * [**header**](https://docs.airdev.co/canvas/canvas-functionality/reference/reusable-elements/header)

## How to set up

* Show or hide any navigational menu tabs (e.g., **Group Nav Tab 2 -**) in the sidebar. To show a menu tab, check the box for _This element is visible on page load_.
  * Within **Group Side Portal Content**, you will find various groups called **Group Nav Tab 1 - Profile  Container**, **Group Nav Tab 2 - Login Credentials Container**, **Group Nav Tab 3 - Payments Container**, **Group Nav Tab 4 - Notifications Container,** and other placeholder containers that are hidden by default.&#x20;
    * **How to hide tabs**
      * To hide tabs, please uncheck "this element is visible on page load" on the **Group Nav Tab \[number] - \[Label] Container** elements that you would like to hide.
    * **How to edit the label of tabs**
      * To edit the label of tabs, click on the "Group Nav 1", "Group Nav 2", "Group Nav 3" and "Group Nav 4" elements, adjust their text data source to be the new label.&#x20;

![Show or hide menu tabs by checking or unchecking this option on any tab](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2F6Gki5PL29ZCqH2LRDaDT%2F72.png?alt=media\&token=dde21323-1ed8-4999-99cd-affc513d6903)

* If you add more blocks to **Blocks container 860 (do not rename)**, you will need to resize **Group Main PLACEHOLDER** so that it is not overlapping with any other elements (for responsiveness)

![](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2F3ERDIVGdatNMXfNKPBss%2F73.png?alt=media\&token=5ceaa3be-47fa-4759-90a4-fb6cae5b853b)

{% hint style="warning" %}
Placeholder groups are commonly used on pages to preserve vertical space that may be needed in the future. It is important to re-size them and check to make sure that they are not overlapping with other elements in order to prevent responsive issues.
{% endhint %}

* When adding new blocks, you will need to replicate the header responsive settings and workflows from **Group Nav 1 Tab - Profile. To do this,** copy the conditional statements and workflow from **Text profile** to your new block's title element:&#x20;

![Copy the Text Profile's conditional and paste it onto the title element in your new block](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FPMyLPoB8FETRSrE4CNTy%2F74.png?alt=media\&token=332d17df-08fa-4916-8268-4e46378b5d19)

![Copy this workflow action and set the "Element" to be the new block's title text element](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FaZEhC1miZxoe3cxyZdZg%2F75-1.png?alt=media\&token=ba6eb067-a0a4-471a-85d0-7f1f3b6f2aae)

Doing the above will ensure that users can click on the block title on mobile to go back to the sidebar menu.

![Mobile Content View](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FGDKKdSncUo5jfLJUcnkS%2F75.png?alt=media\&token=e0e7e5f0-948b-4516-b24e-19c7aa4b7203)

![Mobile Sidebar/Navigation View](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FBmyLHeccCAjodgvgPtWm%2F76.png?alt=media\&token=a10f94b3-4221-4b9d-96c1-2679d06f2bcf)

## **Showing or hiding a block**

* For each block in **Blocks container 860 (do not rename)**, uncheck the box for _This element is visible on page load_ and check the box for _Collapse this element's height when hidden_

![](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FMzVa4PBIT3aKMySopwmd%2F77.png?alt=media\&token=535a81fd-03ed-4cc4-9559-e8ee424f6b74)

* For each block, go to the Conditional tab and add a conditional statement for when to show the block:\
  &#xNAN;_&#x76;ar - tab url parameter's text is Group Nav 7/8/9/10 or 11's tab's text then This group is visible_

![](https://2198874353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ObHjihY6fQvg2Mkyk5w%2Fuploads%2FLLiQ23nB9vDV6PsmPdkN%2F78.png?alt=media\&token=67755eb1-23fa-45fd-a1f4-7d1aed4e916f)
