Drupal is a registered trademark of Dries Buytaert
cms 2.1.0 Update released for Drupal core (2.1.0)! menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). ai 1.2.13 Minor update available for module ai (1.2.13). ai 1.3.2 Minor update available for module ai (1.3.2). moderated_content_bulk_publish 2.0.51 Minor update available for module moderated_content_bulk_publish (2.0.51). moderated_content_bulk_publish 2.0.50 Minor update available for module moderated_content_bulk_publish (2.0.50). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6). seven 1.0.1-beta1 First beta version released for theme seven (1.0.1-beta1). miniorange_saml 3.1.4 Minor update available for module miniorange_saml (3.1.4). eca_tamper 2.0.10 Minor update available for module eca_tamper (2.0.10). modeler_api 1.1.1 Minor update available for module modeler_api (1.1.1). turnstile 1.1.26 Minor update available for module turnstile (1.1.26). email_tfa 2.0.8 Minor update available for module email_tfa (2.0.8). paragraphs_entity_embed 4.0.0 Major update available for module paragraphs_entity_embed (4.0.0). bootstrap_italia 2.17.4 Minor update available for theme bootstrap_italia (2.17.4). bootstrap_italia 2.17.6 Minor update available for theme bootstrap_italia (2.17.6).

The Bootstrap Theme Toggler module provides a simple, plug-and-play solution to add a theme switcher to your Drupal site. It allows users to toggle between light and dark modes when using a Bootstrap-based theme, improving accessibility and user experience without any configuration.

Features

  • Provides a ready-to-use "Bootstrap Theme Toggler" block
  • Allows users to toggle between light and dark themes
  • Seamless integration with Bootstrap-based themes (e.g. Bootstrap 5)
  • Persists user preference using local storage or session
  • No configuration required
  • Lightweight and no external dependencies

This module is ideal for site builders who want to quickly add a modern dark mode toggle without writing custom JavaScript or complex theming logic.

Post-Installation

After enabling the module, go to the Block Layout page and place the "Bootstrap Theme Toggler" block in any region of your site.

Once the block is placed, the theme switcher is immediately available to users. No additional configuration is required.

Additional Requirements

  • Drupal 9, 10 or higher
  • A Bootstrap-based theme (e.g. Bootstrap Barrio or a custom Bootstrap theme)

No additional modules or libraries are required.

Similar projects

Other theme switcher modules may offer advanced configuration options or support multiple themes.
Bootstrap Theme Toggler focuses on simplicity and ease of use, with a zero-configuration approach and tight integration with Bootstrap.

Supporting this Module

If you find this module useful, consider supporting its development by contributing code, reporting issues, or sharing feedback on Drupal.org.

Community Documentation

Additional documentation, demos, or tutorials may be added here in the future.

This module is designed to be simple, efficient, and easy to integrate into any modern Drupal project using Bootstrap.

Activity

Total releases
1
First release
Apr 2026
Latest release
12 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Apr 3, 2026