

Anywhere you have fields
Entries, terms, globals, the sidebar, Replicator and Bard sets, Groups, stacked Grids and fieldsets. Field values are saved as usual, nothing is nested.
Where tabs work
Add a Tab field to an entry, a sidebar, a Replicator or Bard set, a Group or a fieldset, and every field after it lands in that tab. Your data stays exactly where it was.


Install
Requires PHP 8.3+ and Statamic 6. Then add a Tab field wherever a tab should start. There is nothing to publish or configure.
composer require eminos/statamic-tabsUsing Statamic 3, 4 or 5? Use the 1.x branch.
In your blueprint
Every field after a Tab field belongs to that tab, up to the next one. A Tabs End field shows the following fields normally again.
- handle: content_tab
field: { type: tab, display: Content }
- handle: body
field: { type: bard, display: Body }
- handle: seo_tab
field: { type: tab, display: SEO, tab_icon: search-magnifying-glass }
- handle: meta_title
field: { type: text, display: Meta title }
- handle: end_tabs
field: { type: tabs_end }See it in action
Tabs only change how the form looks. Fields stay where Statamic put them, so values are saved, localized and validated exactly as before.
Tab rows, nested tabs and conditions work together, in the main form and inside sets.



