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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). 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.

Scroll Up Down

13 sites No security coverage
View on drupal.org

This module adds floating buttons that allow users to easily scroll to the top or bottom of any page. It uses plain JavaScript for smooth scrolling and is designed to be accessible and easy to theme.

Scroll Up Down adds accessible buttons to quickly scroll to the top or bottom of any page. It improves site navigation and user experience with smooth scrolling powered by plain JavaScript (no jQuery).

Features

  • Adds two floating buttons: one for scrolling up, one for scrolling down.
  • Uses vanilla JavaScript only (no jQuery dependency).
  • Fully accessible: proper ARIA labels, keyboard focus, and screen reader support.
  • Buttons fade in when the user scrolls down the page, and fade out again near the top.
  • Easy theming: icons and styles are defined in CSS, so site builders can override them without editing JavaScript.
  • Lightweight and fast — minimal code, no external libraries.

Post-Installation

After enabling the module, the scroll buttons are automatically attached to all pages. You can choose who can view the arrows with a permission.

Additional Requirements

  • No dependencies beyond Drupal core.
  • Works with all modern browsers that support window.scrollTo({behavior: 'smooth'}).

Similar projects

  • Back To Top: adds only one button for scrolling upwards, relies on jQuery.
  • Scroll Up: allows users with appropriate permissions to add and configure "Scroll up" button.

Supporting this Module

If you’d like to support ongoing development, feedback and contributions on the issue queue are welcome!

Activity

Total releases
4
First release
Sep 2025
Latest release
9 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.2.0 Stable Sep 24, 2025
1.1.0 Stable Sep 18, 2025
1.0.x-dev Dev Sep 17, 2025
1.0.0 Stable Sep 17, 2025