Skip to content
MyAppBuilder
StableLayoutVersion 1

Tabs

Overview

Splits content into tabs so visitors see one panel at a time. Each tab is a container of its own; two tabs are created for you and you can add more.

When to use

  • Customer page: "Overview", "Orders", "Notes" tabs.
  • Settings page with "Profile" and "Notifications".
  • A dashboard with "This week" and "This month" views.
  • Product page: "Description", "Specifications", "Reviews".

When not to use

  • Visitors must read everything in order: use Stepper (guided steps) or plain Sections.
  • Tabs should navigate to different pages: use Navigation Menu with the Tabs style.

Quick start

  1. Drag Tabs onto the page; it comes with two tabs named "Overview" and "Details".
  2. Select a tab in the Layers panel (or click its label on the canvas) and rename it in the Content tab → Tab label.
  3. Drop content into each tab panel.
  4. To add a tab, select an existing tab in the Layers panel and press Ctrl+D (Duplicate); to remove one, delete it.
  5. Content tab → Style: Underline or Pills.

Layout rules

  • Can contain: Tab.
  • Can be placed in any container (page, section, card, row, column, grid…).

Properties

Styleselect

Visual style of the tab strip.

Options: underline — text with an underline under the active tab, pills — rounded buttons with a soft highlight

Default: underline

Events

On change
Runs when the visitor switches tab. The new tab index (0 for the first tab) is available as {{event.value}}.

Actions

Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.

Other components can read this component's activeIndex from the Data Picker → Component state.

Responsive behavior

The tab strip scrolls horizontally when labels do not fit, so it works on phones. Keep labels short (one or two words).

Permissions

Component permissions on the Tabs apply to the whole group. To hide a single tab for some roles, set permissions on that tab panel instead; the strip only shows tabs the visitor received.

Examples

Customer tabs

Example
Tabs (Style: underline)
  Tab "Overview": Detail view → Customers
  Tab "Orders": Table → Orders (filter: customer = {{params.id}})
  Tab "Notes": Comments

Common patterns

  • Jump to a tab from a button: Set state → Component state → this Tabs → key activeIndex → value 1.
  • Show a tab-dependent heading with {{component.<tabsId>.activeIndex}} in a visibility rule.

Limitations

  • Nesting: can only contain Tab panels (created automatically). Can be placed in any container.
  • The first tab is selected on every page load; the active tab is not remembered between visits.
  • Only the active tab's content is rendered in the live app, so data inside other tabs loads when they are opened.

Troubleshooting

I cannot drop a component directly on the Tabs component.

Why: Tabs only accept Tab panels.

Fix: Drop the component inside one of the tab panels instead.

Related

Was this helpful?