Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

TabPanelWidget

137 sites No security coverage
View on drupal.org

This module provides a reusable library for creating responsive tabs that transform into accordions on smaller screens, ensuring accessibility. It offers integrations with Quick Tabs and Views to easily implement these tab and accordion interfaces across your Drupal site.

Makes the TabPanelWidget library available for various tab and accordion display purposes. Our (government) organization had a need for responsive tabs that would collapse to accordions at narrower widths, and also met accessibility requirements. TabPanelWidget met both needs.

The main TabPanelWidget module makes the library available and provides a class for setting options, generating markup, and attaching the library.

The TabPanelWidget Quick Tabs module provides a TabRenderer plugin for Quick Tabs.

The TabPanelWidget Views module provides a style plugin for Views.

Installing the library with Composer

Note that this module only supports version 1.x of the library. I hope to add
support for 3.x of the library in a future release.

If you're using **wikimedia/composer-merge-plugin** in your project, add this
line to your merge-plugin include array:

"docroot/modules/contrib/tabpanelwidget/composer.libraries.json",

Running composer update should then install the tabpanelwidget library.

If not using merge-plugin, add the following to your composer.json
repositories list:

{
  "type": "package",
  "package": {
    "name": "tabpanelwidget/tabpanelwidget",
    "version": "1.5.0",
    "type": "drupal-library",
    "dist": {
      "url": "https://github.com/tabpanelwidget/tabpanelwidget/releases/download/1.5.0/tabpanelwidget-1.5.0.zip",
      "type": "zip"
    }
  }
},

...and use:

composer require tabpanelwidget/tabpanelwidget:^1.5

...to add it to your project.

Activity

Total releases
6
First release
Mar 2025
Latest release
11 months ago
Releases (12 mo)
2 ▼ from 4
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.1.2 Stable Aug 6, 2025
1.1.x-dev Dev Aug 5, 2025
1.1.1 Stable Mar 12, 2025
3.0.0 Stable Mar 11, 2025
3.0.0-beta2 Pre-release Mar 10, 2025
3.0.0-beta1 Pre-release Mar 10, 2025