This project is not covered by Drupal’s security advisory policy.
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!
Project information
- Project categories: Accessibility, User engagement
14 sites report using this module
- Created by santerref on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.2.0
released 24 September 2025
Works with Drupal: ^10 || ^11
Add permission to show or hide arrows per role
Install:

