Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Bootstrap Theme Toggler

No security coverage

Part of the Bootstrap ecosystem · 46 projects

View on drupal.org

This module allows users to easily switch between light and dark modes on Bootstrap-based Drupal themes. It provides a block that, once placed, allows users to toggle their preferred theme without any complex setup.

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.

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
1
Tracked since
Apr 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

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