Tabs
The Tabs macro allows you to add tabs to provide interactive, categorized, or isolated information to the page. A Tabs macro is added for each tab that you want to display.
You can now add more than one array of tabs to a Confluence page.
Walkthrough
Watch our video walkthrough to see the Tabs macro in action.
Instructions
Navigate to the page you want to edit.
Click the Edit icon.
Click Insert > View More in the Confluence editor.
Select the Tabs macro in the Select Macro screen. (Alternatively, use
/
and begin to typetab
to access the macro via the quick insert menu.)To start a new tab array on a page select the Start New Tab Group checkbox.
You only need to select this check box if you have multiple tab groups on a page. It only affect the tabs that follow it, so you only need select it at the start of a second group of tabs.
Select the New Tab Group Direction; this can be vertical or horizontal. The arrangement of all the tabs on a page is decided by the setting in the editor of the first tab in a group.
- Enter the title to be displayed on the tab, e.g. Venue.
Click Save. A macro placeholder is displayed.
Add the content that you want to display on that tab.
Add an additional Tabs macro for each tab that you want to display, for example, we added additional macros for Workshops, Facilities, and Directions. In the following image.
The order in which you arrange the tabs on the page is the order in which the tabs will be displayed
Click Publish to see the rendered tabs on the page.
Horizontal Arrangement
Vertical Arrangement
Edit the macro
To make changes to the macro, for example, to change the title of the tabs, click the macro placeholder then click the Edit icon. Make the required changes, these will save automatically.
To make changes to the order of the tabs, change the order of the macros on the page. Drag and drop the macros to do this.
Add Multiple Tab Groups
- Add the tabs macros as normal.
- At the start of your new tab group select the Star New Tab Group checkbox.
Choose the New Tab Group Direction.
The New Tab Group Direction in the first tab is applied to all the tabs in its group. Selecting this option for following tabs will have no effect on the group.
Publish your page to see your multiple tab groups.
Macros Inside Tabs
It is possible to put some macros inside tabs. Some larger or more complex macros may not work, or work differently than expected.