---
title: "Add pages as tabs"
canonical: "https://support.appfire.com/space/CT/1562739051/Add%20pages%20as%20tabs"
format: markdown
---
> Macro (aura-html)

The [Pages to Tabs](https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561267409) macro can:

- Render all first-level** **child pages of a specified parent page as tabs.
- Render any specified pages as tabs.

The macro displays the page tabs dynamically, which means that if a page is modified, the changes are reflected in the corresponding tab.

> ⚠️ The Pages to Tabs macro can render a maximum of 25 pages as tabs.

The Pages to Tabs macro functions quite similarly to the Include Page macro by Confluence, but without the limitations of these macros, which cannot currently be nested within other macros in Confluence Cloud.

If you use the [Tabs](https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561725840) macro and copy and paste the content from other pages into tabs, the copied content will not be dynamically updated.

## Ingredients

| App | Composition Tabs |
| --- | --- |
| Macro | Pages to Tabs |

## Guide

### Render child pages as tabs

1. Insert the **Pages to Tabs** macro using the macro browser or the keyboard shortcut (`/` for the new editor or `{` for the legacy editor).
2. <span style="color: #172b4d">From the </span><span style="color: #172b4d">**Source**</span><span style="color: #172b4d"> menu, select </span><span style="color: #172b4d">**Parent page**</span><span style="color: #172b4d">.</span>
3. From the **Parent page** menu<span style="color: #172b4d">, select the page whose </span>child pages you want to display as tabs.  
If you want to use the current page as a parent page, leave this field blank.
4. Click **Next**.  
The child pages load as tabs in the macro editor. The tab titles are the same as the titles of the child pages.
5. Optionally, edit the tab titles and customize the tabs. See [https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561988534](https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561988534).
6. Click **Insert**.
7. Save the page.

### Render custom pages as tabs

This example is similar to the one above, but the selected pages are in different spaces.

1. Insert the **Pages to Tabs** macro using the macro browser or the keyboard shortcut (`/` for the new editor or `{` for the legacy editor).
2. <span style="color: #172b4d">From the </span><span style="color: #172b4d">**Source**</span><span style="color: #172b4d"> menu, select </span><span style="color: #172b4d">**Page selector**</span><span style="color: #172b4d">.</span>
3. <span style="color: #172b4d">From the </span><span style="color: #172b4d">**Page selector**</span><span style="color: #172b4d"> list, select the pages that you want to display as tabs on the page.</span>  
<span style="color: #172b4d">You can enter keywords in the field to filter the pages by title.</span>
4. Click **Next**.  
The pages load as tabs in the macro editor. The tab titles are the same as the titles of the child pages.
5. Optionally, edit the tab titles and customize the tabs. See [https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561988534](https://appfire.atlassian.net/wiki/spaces/CTFCC/pages/1561988534).
6. Click **Insert**.
7. Save the page.

On the page, the selected pages appear as tabs.

![image](media://b01c9f75-dc1e-4758-ad4d-a515668fe258)