The information on this page relates to beta testing within the DXP

This documentation includes information for selected beta testers within the DXP. DO NOT use this unless you have been instructed to do so.

Tabs

Use the tabs component when you wish to format a set of options in tabs on a page.

The tabs component does not allow you to nest other components within the tab content.

Add the component to your page

When you are editing your page using page-builder:

  1. Add a component to your page by clicking the widgets Add component button or by adding a content block (by clicking the add_circle button) then clicking the add component button.

  2. Locate the tabs Squiz core component within the component browser and then click the Select button.

    tabs component select

  3. This will add the tabs component to your page.

Configure the tabs component

tabs fields

  1. Click the add button to add additional tabs. Each tab is configured using a dedicated card as shown above. This is covered in the Tab configuration section.

  2. When enabled, this option displays a button if there are too many tabs to display in the available space.

  3. Controls the tab placement above the tab content panel.

  4. This can be used to select the default tab to make active when the page loads.

  5. (Optional) This allows you to add a unique ID into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.

  6. (Optional) This allows you to add a class into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.

Tab configuration

The following options can be used to configure each tab:

tabs tab fields

  1. Enter the tab’s title.

  2. Enter the tab’s contents. This will display when the tab is selected.