Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Bootstrap Theme Toggler

No security coverage Under active development

Part of the Bootstrap ecosystem · 46 projects

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.

Ask your assistant about Bootstrap Theme Toggler

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

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