Tabs
Several views of one thing; the reader picks which one to see. Put anything in a tab.
Watch the video
Chapters and transcript Captions are included.
Use this element#
Use Tabs for several views of the same subject. Rename the tab labels and edit each matching panel. Add a tab through the Tabs control so its label and content panel are created together.
Tab names can run across the top, down the side or along the bottom: in Tabs settings, Tab names offers Across the top, Down the side and Along the bottom when the surrounding section does not already own that layout. When it does, the section's Layouts offers the same three: Names on top, Names on the left and Names below. Names along the bottom are available from Kindly Edit 0.11.1. Names below suits slides with numbered names under them, such as a homepage's featured events. A label and its panel are one structural item. Do not move or delete just one half through HTML.
Availability#
Available through the appropriate content or section picker when the theme and editing context allow it.
Content controls#
These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.
Tab names#
| Choice | Stored value |
|---|---|
| Across the top | (empty/default) |
| Down the side | layout-side |
| Along the bottom | layout-bottom |
This control is conditional on the element’s current state or layout. A hidden control does not indicate that its stored value has been deleted.
Tabs#
Use Add a tab to create a complete item. The collection manages its content and structural wrapper together.
Min: 1.
This control is conditional on the element’s current state or layout. A hidden control does not indicate that its stored value has been deleted.
Each item exposes: Name. Rich content can also be edited directly on the page.
Style controls#
In Developer mode, Style starts with this element's own group, Tabs, open above the shared Style groups (available in 0.9.15 and later):
| Control | Value |
|---|---|
| Active tab color | Color |
| Tab text color | Color |
Each works like the rest of the inspector: it starts by showing the element's current look, Reset brings the theme's value back, and each change is one Undo step. Like other Style settings, a value can differ by screen size and state (Normal, Hover, Focus).
Save and check#
- Change one setting and inspect the affected element.
- Use Undo and Redo to check the edit is reversible.
- Save a draft, reopen it, and confirm the content and choices remain.
- Inspect the page at desktop and phone widths.
- Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.
How it is stored#
The block comes from blocks/80-tabs.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.
The settings registry matches .cb-tabs in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.