Drupal is a registered trademark of Dries Buytaert

tabby

3 sites Security covered
View on drupal.org

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
4
First release
Sep 2025
Latest release
1 month ago
Release cadence
37 days
Stability
50% stable

Release Timeline

Releases

Version Type Release date
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