Aero Page Builder Documentation

Tabs

Tabs

Tabs split content into panels with a row (or column) of labels; only one panel is visible at a time. Visitors switch panels by clicking the labels. On narrow screens the tabs turn into a stacked accordion so nothing is lost on phones.

What it is for

Use Tabs when a topic has a few parallel facets that visitors compare or choose between: overview / schedule / venue, three membership levels, per-audience instructions. If visitors are likely to read everything in order, an Accordion or plain headings serve better.

A vertical Tabs component: three labels stacked on the left and the active panel text on the right, with an orange border above and below.
Orientation Vertical, height Auto, 90% width, orange top and bottom borders from Container Settings.

See it live on the example page APB Tabs, which also shows Tabs inserted in a Simple Content column.

Structure

  • The Tabs component sets the orientation, the panel height and the color.
  • Tabs Items — one per tab: the label (Title) and the panel content (Body). The first item is the tab open when the page loads.

Component settings

SettingOptionsDefaultWhat it does
Section Title / Show Section Title / Intro Text— / No / emptySee Section Title and Intro Text.
Target PlacementBody, Main Content Top/Bottom, Top region, Sidebars, Internal Placement 1–3BodySee Target Placement.
Color StyleBlue, Blue and Green, Gray, Green, Orange, Red, Teal Blue, Yellow— (required)Color of the active tab and its underline (second palette). See Color Style.
OrientationHorizontal, VerticalHorizontalLabels in a row above the panel, or in a column at the left of it. Vertical suits long labels and many tabs.
HeightAuto, 240px … 640px, 40vh … 80vhAutoFixed height of the panel area; longer content scrolls inside it. Auto lets each panel take its natural height, so the page may jump slightly when switching tabs.
Component Width25% … 100%100%See Component Width.
Custom ClasstextemptySee Advanced settings.
Container Settings32px bottom marginSee Container Settings.

Tabs Item fields

FieldRequiredWhat it does
TitleyesThe tab label. Keep it to one or two words in horizontal orientation.
BodyyesThe panel content (rich text).
Description (internal)noEditor note; never shown.
Custom ClassnoExtra CSS class on this panel.

How to use it

  1. Click Add Tabs; set a Section Title and a Color Style.
  2. Choose the Orientation. Set a fixed Height when the panels have similar length and you want the page to stay still; keep Auto otherwise.
  3. Click Add new Tabs Item; type the label as Title and the content as Body; click Create. Repeat per tab and drag to order — the first is selected by default.
  4. Save and resize the browser window to check the accordion fallback on narrow screens.

Tips

  • Three to six tabs is the comfortable range; beyond that, prefer Vertical orientation or an Accordion.
  • Tabs are not linkable individually: a visitor arriving from a link always sees the first tab.
  • To place Tabs beside a paragraph, insert them into a Simple Content region with Target Placement Internal Placement 1.

For site builders

ItemValue
Moduleapb_pb_tabs
Paragraph typesapb_pb_tabs, apb_pi_tabs
Requiresapbuilder, Paragraphs, Entity Reference Revisions, Inline Entity Form, Field Group, core Options / Taxonomy / Text
Own vocabularyapb_tax_tabs_height (Auto, 240px … 640px, 40vh … 80vh)
Shared vocabulariesapb_tax_cs_02, apb_tax_width, apb_tax_target_placement
Front-endapb_pb_tabs/frontend: jQuery UI tabs built client-side with an accordion fallback below the mobile breakpoint; active-tab colors injected as inline CSS.
PermissionsInstall grants view to anonymous and authenticated users only; grant create/update/delete on both bundles to your editor roles manually.
Container settingsFull profile.
Example page/apbuilder_examples/apb-tabs