Where tabs work
A Tab field works anywhere Statamic shows a list of fields. The rules from Tab rows, nesting & Tabs End are the same everywhere. Each list of fields gets its own tabs: a tab in a Replicator set never reaches outside that set.
| Place | Tabs? | Notes |
|---|---|---|
| Entry, term and global set blueprints | Yes | Per section. |
| The sidebar | Yes | |
| Replicator sets | Yes | Each set has its own tabs and remembers its own selected tab. |
| Bard sets | Yes | Same as Replicator. |
| Group fields | Yes | |
| Grid in stacked mode | Yes | Each row has its own tabs. |
| Grid in table mode | No | Tab columns are hidden, see below. |
| Fieldsets | Yes | Imported or referenced, see Fieldsets with tabs. |
Bard and Replicator sets
Add Tab fields to a set's fields. Every set gets its own tab bar, and each set remembers which tab is open, also when you reorder, collapse or add sets. Imported fieldsets work in sets too.


sets:
main:
sets:
call_to_action:
display: Call to action
fields:
- handle: cta_content_tab
field: { type: tab, display: Content }
- handle: heading
field: { type: text, display: Heading }
- import: button # brings Button / Style / Advanced tabsGrid: stacked vs table
In a Grid with mode: stacked, every row shows its fields as a small form, and Tab fields work as usual: each row gets its own tabs.


In table mode, each field is a table column, so there is nothing for a tab to group. Tab columns are hidden there, and the other columns show normally. Switch the Grid to stacked mode if you want tabs.


Group fields
Tab fields inside a Group's fields group those fields. The values are still saved under the Group's handle, as usual (seo.meta_title).


The sidebar
The sidebar is a list of fields like any other, so it can have tabs too. A Tabs End lets you put fields below them.


Global sets
Global set blueprints work like entry blueprints.


Multisite
Tabs follow the site you're editing:
- Switching between localizations keeps the tabs intact, and the selected tab is remembered per localization.
- A localization can use a different blueprint than its origin, with different tabs.
- Tab labels are passed through Statamic's translator, so you can translate them in your
lang/*.jsonfiles like other strings. - Fields that aren't localizable are shown read-only inside their tab, as usual.


Live Preview
Opening Live Preview keeps the selected tab, and closing it again too.