Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

TabPanelWidget

100 sites No security coverage Drupal 10–11
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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 6
Maintenance
Dormant

Release Timeline

Releases

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