This project is not covered by Drupal’s security advisory policy.
Layout Paragraphs Section Tabs shows Layout Paragraphs sections as tabs. An editor marks a section as a New tab with a tab title; sections right below it can Continue the tab above. Tabs that follow each other form one set of tabs, and anything that fits in a section can go in a tab.
Features
- Tabs and accordion: a tab row on wide screens and an accordion on narrow ones, with ARIA roles and arrow-key navigation.
- Links to tabs: each tab has a link (
/page#tab-title), made from its title or set by the editor, per language. A link to anything inside a tab opens that tab too. - Search friendly: all tab content is in the page's HTML from the start, each tab title stays a heading, and find in page (Ctrl+F) opens a closed tab that holds the text.
- Editing: the layout builder shows the tabs one at a time, whole tabs can be moved, and "Show all sections" shows the sections as usual.
- Theming: a plain default look, a template to override, and a JavaScript event and API for theme extras.
Getting started
- Install the module.
- Edit your section paragraph type, check Use sections of this type as tabs and save.
- Edit a page, open a section and choose New tab.
See the README for theming and details.
Requirements
- Drupal 11.2 or later
- Layout Paragraphs 2.x
Supporting organizations:
Funded the development of the initial version
Project information
- Project categories: Content display, Content editing experience
- Ecosystem: Layout Paragraphs
- Created by miax on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha2
released 1 December 2026
Works with Drupal: ^11.2
Tab goes from a tab straight into its content
Install:
