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

    Click Insert in the rail on the left, 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 or a Picture 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.

Steps with a picture

A common way to explain a process is a list of steps beside a picture: the open step shows a line of text, and the picture changes with it. Build it with Layout → Vertical and a Description on each tab:

  1. Give each tab a Title (A proper brief, A shortlist in seven days…) and a Description, the line that explains it.
  2. Put one image in each panel.
  3. Leave Show descriptions on On the open tab: only the open step shows its line, the others show their title.

Screen readers hear the title as the tab's name and the description after it. Style the line in Design → Description.

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.

Links elsewhere on the same page work too. A link to #pricing, or to the Anchor ID of something inside a panel, opens that tab and scrolls to it, even when the tab is closed. For example, a "See all plans" button in the hero can open the Pricing tab further down.

When a page opens with one of these anchors in its address, the tab opens and the page goes to it, or to the element inside it that the anchor names. Once the page has finished loading (images above the tabs can still move it), it scrolls back to that spot, unless the visitor has already scrolled.

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 positionWhere the tabs sit. After the content puts them under the content, or to the right of it in the Vertical layout, for example a row of logos under a story. The divider line and the indicator move to the side that faces the content. Keyboard users still reach the tabs first. No effect in the Accordion layout. Options: Before the content, After the content. Default: Before the content.
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. Links on the page to a tab, or to something inside one, open it too. See Link to a tab.
Accessible nameOptional name of the tab list for screen readers, for example “Plans”.
Pictures onlyTabs that have a Picture show just the picture; their titles stay for screen readers. Tabs without a picture keep their title.
Show descriptionsWhere tabs show their Description: On the open tab (the others show only their title) or On every tab. Default: On the open tab.
Each tab
SettingWhat it does
TitleText of the tab.
IconAn optional icon on the tab.
PictureAn optional picture shown before the title, such as a face, a product or a logo. The title names the tab, so screen readers skip the picture. Set its size in Design → Icon & picture.
DescriptionAn optional line under the title, inside the tab. See Steps with a picture. The accordion layout's headers show only the title.
AnchorA name for deep links: with Deep linking on, /page#pricing opens this tab. Letters, numbers, - and _ only, starting with a letter.

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.
Description
SettingWhat it does
TypographyFont, size and line height of the tabs' descriptions.
ColorColor of the descriptions. Default: the tab's text color.
Space aboveGap between the title and its description. Default: 6 px. Per device.
Icon & picture
SettingWhat it does
Picture sizeWidth and height of the tab pictures; they are cropped to a square. Default: 48px. Per device.
Picture cornersRounds the corners of the tab pictures; 50% makes them circles. Per device.
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.
Attributes & CSSCustom HTML attributes and custom CSS for this element. See Custom CSS & 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.