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.

Smartmenus.js

169 sites Security covered
View on drupal.org

This module integrates Drupal with the Smartmenus.js JavaScript library to create responsive, accessible, and mobile-first navigation menus. It allows you to display menus in blocks and customize their appearance and behavior, including options for mobile toggles and orientation.

This module provides Drupal integration with the Smartmenus.js advanced jQuery website menu plugin. Mobile first, responsive and accessible list-based website menus that work on all devices. This is the library that was included in core for BackdropCMS, and is most commonly used with Bootstrap.

Any number of Blocks can be used for placing menus on the page.

Side-wide settings:
* number of desired menu blocks
* theme

Per-block settings:
* Menu to render
* Display a mobile toggle (hamburger menu)
* Orientation (vertical/horizontal)

Installation specific to Drupal 7

  1. Install the Smartmenus jQuery plugin:
    • Download the Smartmenus jQuery plugin from github: http://www.smartmenus.org/download
    • Unpack the Smartmenus jQuery plugin, and place it in your libraries directory (usually sites/all/libraries)
    • Rename the 'smartmenus-1.0.1' directory to simply 'smartmenus'
  2. Install the Smartmenus module as usual

Usage

  1. Navigate to the blocks administration at admin/structure/blocks
  2. Place the Responsive drop-down Smartmenu #1 block into a region
  3. Profit.

Requirements

  • Drupal 7
  • Drupal 8+
    • Composer
    • As of the 2.0.2-beta4 release, please use vadikom/smartmenus instead of drmonty/smartmenus and note that the library is now in the dist/ subdirectory.
    • Smartmenus library is added using composer. Add this to your project's composer.json:
          "repositories": [
              {
                  "type": "package",
                  "package": {
                      "name": "vadikom/smartmenus",
                      "version": "1.2.1",
                      "type": "drupal-library",
                      "dist": {
                          "url": "https://github.com/vadikom/smartmenus/archive/refs/tags/1.2.1.zip",
                          "type": "zip"
                      },
                      "require": {
                          "composer/installers": "^1.2"
                      }
                  }
              }
          ],
      
    • Install the Smartmenus module as usual (download or with composer also)

Modern Drupal (8+)

* Download the module, install and feel free to report any issues found in the module. The module comes with a composer.json file adding drmonty/smartmenus library as a dependency, however you must still add the repository as shown above. To install the required library run composer install command in the module directory before enabling the module.

Drupal 7 / Backdrop CMS

* Development will continue in tandem for Drupal 7 contrib and Backdrop core, indefinitely.
* The Smartmenus functionality is included core for Backdrop CMS, so there is no need for a Backdrop version of this module.

Thanks

Special thanks to Vasil Dinkov, the author of the Smartmenus jQuery library used and loved by all.

Activity

Total releases
2
First release
Oct 2025
Latest release
8 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
2.0.2-beta5 Pre-release Oct 23, 2025
2.0.2-beta4 Pre-release Oct 23, 2025