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

This module adds a Horizontal Tabs field type to Drupal entities, allowing you to organize content into tabbed sections. You can configure the number of tabs and choose between traditional tab or pill button styles for the tab headers, with support for Bootstrap 3, 4, or 5.

This module provides a field type called "Horizontal Tabs" which consists of tab label and tab body elements. The number of allowed tabs can be set when adding the field to an entity. Tab labels can be set to display as either traditional tabs or as pill buttons.

This module depends on the Bootstrap framework. It does not prescribe how Bootstrap should be integrated with the site, but presumes that it is integrated and that the tab JavaScript utility is loaded on all pages.

This implementation is compliant with WAI-ARIA guidelines for tab accessibility.

Options/Features

Display settings for the field formatter (i.e., "Manage Display") include:

  • Tab style: "Tabs" (default) or "Pills"
  • Tab orientation: "Horizontal" (default) or "Vertical"

Compatibility

  • Bootstrap 3, 4 or 5

Note: Drupal 11 uses jQuery 4 which is not supported in Bootstrap 3 and 4.

The simplest way to integrate the required Bootstrap components is to use or sub-theme the Bootstrap Drupal theme (whose current stable version uses Bootstrap version 3).

If using with Bootstrap 4, you will need to include the `util.js` and `tab.js`
components. See https://getbootstrap.com/docs/4.0/components/navs/#javascript-behavior.

Installation & configuration

  1. After enabling this module, go an entity's "Manage fields" page and click "Add field."
  2. A new field type, "Horizontal Tabs," will be available.
  3. Follow standard Drupal field steps for adding the field.
  4. Under the "Manage Display" page, choose whether the tab headers should display as standard "Tabs" or "Pill buttons". See examples at https://getbootstrap.com/docs/4.0/components/navs/#javascript-behavior
  5. Go to /admin/config/content/bootstrap-horizontal-tabs and select your version of Bootstrap being used. Note: This feature was added starting in version 2.0.7.

Starting in the 3.0.1 release, the default version of Bootstrap expected is 5.

Activity

Total releases
3
First release
May 2025
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.1.1 Stable Jun 9, 2026
3.1.0 Stable Oct 7, 2025
3.0.2 Stable May 12, 2025