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

Tab content configuration

tabs fields

  1. Title: Enter the title for your tab.

  2. Content: Enter the contents that will be displayed when this tab is selected.

  3. Add: Click the add button to add additional tabs. Each tab is configured using a dedicated card as shown above.

  4. delete_forever: Clicking the delete (trash) icon will delete the selected tab.

    Be careful to not accidentally click the delete button as it will remove the tab without confirmation.

Display configuration

tabs display fields

  1. Show overflow button: When enabled, this option will display a button if there are too many tabs to display in the available space.

  2. Alignment: Controls where the tab placement above the tab content panel.

  3. Default open tab: This can be used to select the default tab to make active when the page loads.

Basic examples

The image below shows a basic example showing three tabs components in a page, demonstrating various display options.

tabs examples

Note: you can apply your own CSS styling.