Docs

Tabs

Accessible tabs whose panels can hold any widgets.

On this page

The Tabs widget shows one panel at a time, with a row of tabs to switch between them. Each panel is a container, so it can hold any widgets. Tabs work well for alternatives visitors compare, such as services, plans or product details. On small screens the same widget can turn into an accordion.

Three tabs named Residential, Renovation and Workspace with icons; the Residential panel shows an image, a heading, text and a button
Horizontal tabs with icons; each panel holds an image and text.

Add tabs

  1. Insert the widget

    Open Insert in the left panel, find Tabs under Layout (or type tabs in Search widgets) and click it or drag it onto the canvas. It starts with three tabs.

  2. Name the tabs

    In Content → Tabs, click a tab and type its Title; add an Icon if you like. Add item adds a tab; drag the handle to reorder, or use Duplicate item and Delete item. The panels follow.

  3. Fill the panels

    Drop widgets into the open panel on the canvas. To edit another tab, select its panel (or anything inside it) in Layers: that tab opens on the canvas.

  4. Pick the layout

    Choose Horizontal, Vertical or Accordion in Layout. Switch to Mobile in the top bar and choose Accordion there to stack the tabs on phones.

Turn on Deep linking and give a tab an Anchor, such as pricing. A link to /your-page#pricing then opens that tab, and the address changes when a visitor picks a tab, so they can share it.

Settings

Settings marked Per device can differ on desktop, tablet and mobile (see Responsive editing).

Content tab

Tabs
SettingWhat it does
TabsThe list of tabs. Each tab has a title here and a panel (a container) on the canvas. Add item, drag to reorder, Duplicate item and Delete item keep the panels in step.
Initially open tabNumber of the tab that is open when the page loads (1 = the first tab). Default: 1.
LayoutHorizontal tabs above the content, Vertical tabs beside it, or Accordion (stacked, collapsible). Set a different layout on mobile, for example Accordion. Options: Horizontal, Vertical, Accordion. Default: Horizontal. Per device.
Tabs alignmentLines the tabs up at the start, center or end, or stretches them to fill the row. Options: Start, Center, End, Stretch. Per device.
Title alignmentAligns the text inside each tab. Options: Left, Center, Right. Per device.
Icon positionPuts tab icons before, above or after the text. Options: Before, Above, After.
Accordion iconIcon on the accordion headers (in the Accordion layout). It turns upside down when the item is open.
Panel transitionHow a panel appears when its tab is chosen. Visitors who prefer reduced motion get no animation. Options: None, Fade, Fade and slide up. Default: Fade.
Deep linkingOpens the tab named in the address (#anchor) and updates the address when a visitor picks a tab, so tabs can be linked and shared.
Accessible nameOptional name of the tab list for screen readers, for example “Plans”.
Each tab
SettingWhat it does
TitleText of the tab.
IconAn optional icon on the tab.
AnchorA name for deep links: with Deep linking on, /page#pricing opens this tab. Letters, numbers, - and _ only.

Design tab

Tabs
SettingWhat it does
TypographyText style of the tab titles.
Space between tabsSpace between the tabs. Per device.
Distance to contentSpace between the tabs and the content. Per device.
Tab list widthWidth of the tab list in the Vertical layout. Per device.
PaddingSpace inside each tab. Per device.
Border radiusRounds the corners of each tab. Per device.
Normal › Text colorText color of the tabs.
Normal › BackgroundBackground of the tabs.
Normal › BorderBorder of the tabs.
Normal › ShadowShadow of the tabs.
Hover › Text colorText color of a tab on hover.
Hover › BackgroundBackground of a tab on hover.
Hover › Border colorBorder color of a tab on hover.
Active › Text colorText color of the open tab.
Active › BackgroundBackground of the open tab.
Active › Border colorBorder color of the open tab.
Active › ShadowShadow of the open tab.
Active indicator › Show indicatorA line under the open tab (beside it in the Vertical layout). On by default.
Active indicator › Indicator colorColor of the indicator line. Shown when Show indicator is on.
Active indicator › Indicator thicknessThickness of the indicator line. Shown when Show indicator is on.
Active indicator › Divider line colorColor of the line between the tabs and the content.
Active indicator › Divider line widthThickness of the line between the tabs and the content. 0 hides it.
Tab list › BackgroundBackground of the whole tab list.
Tab list › PaddingSpace inside the tab list. Per device.
Tab list › Border radiusRounds the corners of the tab list. Per device.
Icon
SettingWhat it does
SizeSize of the tab icons. Per device.
SpacingSpace between a tab icon and its text.
ColorColor of the tab icons.
Active colorColor of the open tab’s icon.
Content
SettingWhat it does
BackgroundBackground of the panels.
BorderBorder of the panels.
Border radiusRounds the corners of the panels. Per device.
PaddingSpace inside the panels. Per device.
ShadowShadow of the panels.
Accordion layout
SettingWhat it does
Space between itemsSpace between the items in the Accordion layout. Per device.
Icon colorColor of the accordion icon.

Used on breakpoints where the layout is "Accordion". Headers reuse the tab typography and colors.

Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Keyboard and screen readers. The tabs follow the standard tabs pattern: arrow keys move between tabs, Home and End jump to the first and last. Fill in Accessible name when the page has more than one tab list.
  • Short titles. Two or three words per tab keep the row on one line; long rows wrap or overflow on phones.
  • Hidden content. Visitors only see the open panel. Put essential information in the first tab.
  • Motion. Panel transition fades or slides panels in; visitors who prefer reduced motion get no animation.