Skip to main content

Tabs

Live preview of the Tabs element in the Salient WordPress theme. Three tabs with an underline indicator; clicking one moves the indicator and fades in its panel. Sample content, for demonstration only.

Every tab is a panel of the page builder, so a tab can hold anything a row can: copy, a gallery, a form, another element entirely.

The Tabs element (called Tabbed Section in the Add Element window) splits content into panels behind a row of tab links. Each tab holds a full page builder area, so a panel can contain any other element, not just text.

Reach for it when a section has several parallel variations to show, and showing them all at once would make the page long: plan comparisons, product specifications, a service list, a set of FAQs.

Styles​

Style changes both the look of the tab links and where they sit relative to the content. The nine values, in the order the dropdown lists them:

  • Default Horizontal tabs above the panel.
  • Material The same layout in the theme's material treatment.
  • Minimal Stripped back to type and a rule.
  • Minimal Alt The minimal treatment with a different active marker.
  • Minimal Flexible Width Minimal, with links sized to their labels rather than shared evenly.
  • Toggle Button A two-state switch rather than a tab bar. Build exactly two tabs, a monthly and yearly pricing switch being the usual case.
  • Vertical Tab links stacked down one side, panel content beside them.
  • Vertical Material The same, in the material treatment.
  • Vertical Sticky Scrolling Vertical links that stay in place while the panel scrolls, so the navigation follows the visitor down a long section.
Toggle Button needs exactly two tabs

With three or more tabs the Toggle Button style falls back to ordinary tabs.

Settings​

Layout​

  • Alignment Choice Left, center or right, for horizontal styles.
  • Spacing Choice The gap between tab links.
  • Tab Color Choice The active tab color, from the theme palette.
  • Custom Font Size Number Overrides the tab link size.
  • Tab Link Element Choice Which HTML tag the link uses, for when a tab label should also be a heading in the page outline.

Animation​

  • Tab Change Animation Choice How one panel gives way to the next.
  • Tab Content Animation Choice How the content inside a panel arrives.
  • Tab Link Animation Choice The hover treatment on the links themselves.
  • Underline Distance From Text Choice For the underline hover treatments, how far the rule sits below the label.

Vertical styles​

These appear once a vertical style is selected.

  • Navigation Side Choice Which side the tab links sit on.
  • Navigation Width Choice How much of the row the links occupy.
  • Navigation Functionality Choice Whether a tab opens on click or on hover.
  • Navigation Item Spacing Choice The gap between stacked links.
  • Navigation Item Mobile Display Choice What the links collapse to on a phone.

Per-tab call to action​

Each tab can carry its own button, set on the tab rather than on the group.

  • Enable CTA Button Toggle Adds a button below the tab's content.
  • CTA button text Text Its label.
  • CTA button link Text Its destination.
  • CTA Style Choice Its appearance, matching the Button styles.
  • CTA Text Color Color The label color.
Tabs inside a Carousel

The page builder will not let you place a Carousel inside a Tab. If you need one, build the carousel as a Global Section and place that instead.