Tab Group (for migration only)

Tab Group (for migration only)

This macro is used for migrating content in Deck of Cards macros to cloud, and the migrated content in the nested Cards macros is converted to Tab macros. It is primarily used for migration purposes and is not available in the macro browser to be directly added to a page.

  • In cloud, this macro is marked as a Legacy macro because it is only compatible with Confluence Cloud Legacy Editor.

  • Use the Tabs macro instead for tabbed content in Confluence Cloud’s new editor.

Notes about migration

  • In Data Center, the macro is used to migrate Deck of Cards macros to cloud.

  • Data Center users migrating to the Cloud will not lose data.

  • Some Data Center parameters are currently unsupported in Cloud and are ignored by the macro. For example, Data Center users migrating to Cloud will lose some CSS and UI functions. For details, refer to FAQ on the migration from Composition Data Center.

The Tab Group macro must contain at least one Tab macro within its body.

Data Center

Cloud

Data Center

Cloud

Parameters

Name

Required

Available in

Migratable to cloud?

Default value

Description

Name

Required

Available in

Migratable to cloud?

Default value

Description

ID

 Yes

Server, Data Center, Cloud

Yes



The ID for the Tab Group macro. Must be unique to this page.

Tabs Location

 Yes

Server, Data Center, Cloud

Yes

Top

The position of the tabs. Can be:

  • Top

  • Left

  • Right (Not supported in Composition Cloud, the position will default to Top.)

Border color of the active tab

 Optional

Cloud

No

 

Choose a color for the border.

Background color of the active tab

 Optional

Cloud

No

 

Choose a background color for the active tab.

Border color of inactive tabs

 Optional

Cloud

No

 

Choose a color for the border of inactive tabs.

Background color of inactive tabs

 Optional

Cloud

No

 

Choose a background color for inactive tabs.

Width

 Optional

Server, Data Center

No

 

The width the content will be constrained to (not including any tabs).

If not set, the tabs expand to display their content.

Height

 Optional

Server, Data Center

No

 

The height the content will be constrained to (not including any tabs).

If not set, the tabs expand to display their content.

History

 Optional

Server, Data Center

No

true

If enabled, the tab will update the page URL when switching tabs and each navigation between the tabs will be treated as an entry in the browser history.

CSS Class

 Optional

Server, Data Center

No

 

The custom CSS class the deck is decorated by.

Start Hidden

 Optional

Server, Data Center

No

true

If set to false, the cards will be initially visible on the page until setup is complete.

Loop Cards

 Optional

Server, Data Center

No

 

If true, the deck will loop back to the beginning from the last card.

Next After (in Seconds)

 Optional

Server, Data Center

No

never

The number of seconds the slides will stay visible before moving to the next one.

By default, the current slide will not transition until prompted by the user.

Effect Type

 Optional

Server, Data Center

No

none

The effect to use when moving to a new slide. Can be:

  • fade

  • none

Effect Duration (in Seconds)

 Optional

Server, Data Center

No

1

The number of seconds the transition will take to complete, for example, 1.5 or 10.


Editor view


Macro edit view