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). 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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (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.

Tabby

7 sites Security covered
View on drupal.org

This module provides a way to create tabs using a render array theme. It utilizes the lightweight and accessible Tabby.js library, which is also used by Webform. An optional field formatter can be added for Viewfield to display views within tabs.

The Tabby JS library was chosen as it is lightweight, accessible,
just vanilla JS, and is already being used by Webform so many Drupal installs will already have the library present.

Features

Create a default set of tabs:

$build['tabs'] = [
  '#theme' => 'tabby_tabs',
  '#labels' => ['Label One', 'Label Two'],
  '#content' => [
    ['#markup' => 'Content One'],
    ['#markup' => 'Content Two'],
  ],
];

Additional Requirements

This module requires the tabby js library.
See the readme file for instructions on installing this via composer.

Tabby viewfield creates a field formatter for fields of type viewfield.

This means if you have a multi-cardinality view field you can place each view in a different tab.

Similar projects

Quick Tabs

  • Not possible to create tabs with a render array.
  • Not accessible unless you use quicktabs-accessible library which currently has some issues with D11.

Block Tabs

  • Not possible to create tabs with a render array.
  • No Drupal 11 version
  • Is based on jQuery

Bootstrap Horizontal Tabs

  • Not possible to create tabs with a render array.
  • Does not come with a JS library - you have to install Bootstrap yourself.

Activity

Total releases
5
First release
Sep 2025
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Jun 4, 2026
1.0.1 Stable Jan 13, 2026
1.0.0 Stable Oct 22, 2025
1.0.0-beta1 Pre-release Oct 15, 2025
1.0.x-dev Dev Sep 23, 2025