PHPackages                             hk2/scrolltop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hk2/scrolltop

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

hk2/scrolltop
=============

Scroll Top adds an intuitive icon at the bottom-right corner of each page so that with one click you will be at the top of the page. No more dragging of the scroll bar. It will be just fun and ergonomic to use. Scroll Top is an uncomplicated free Open Source Magento Module allowing site visitors to immediately and seamlessly get back to the top of your web page after scrolling a lengthy pages.

1.2.0(1y ago)19OSL-3.0PHPPHP ^7.3.0|^7.4.0|^8.0|^8.1.0|^8.2.0

Since Jun 16Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/basantmandal/magento2-scrolltop-module)[ Packagist](https://packagist.org/packages/hk2/scrolltop)[ RSS](/packages/hk2-scrolltop/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

HK2 Scroll Top
==============

[](#hk2-scroll-top)

HK2 Scroll Top adds an intuitive icon at the bottom-right corner of each page so that with one click you will be at the top of the page. No more dragging of the scroll bar. It will be just fun and ergonomic to use. Scroll Top is an uncomplicated free Open Source Magento Module allowing site visitors to immediately and seamlessly get back to the top of your web page after scrolling a lengthy page.

**Please Note**:- This Module Adds Scroll to Top Button in Magento Store Frontend. Scroll to Top Button Automatically gets activated when you scroll down.

💰 Account &amp; Pricing
-----------------------

[](#-account--pricing)

This is a Open Source - Free to use Module. No charge or any fee is there to use it.

🧐 Features
----------

[](#-features)

1. No more dragging scroll bar.
2. Available on all pages of Magento Frontend Store.
3. Open Source - Free.
4. It loads ScrollTop CSS &amp; Js, Only If Enabled from Admin Backend.

🚀 Supported Version
-------------------

[](#-supported-version)

- Magento v2.3.5, 2.4.x

How to install
--------------

[](#how-to-install)

### Method 1: Install ready-to-paste package

[](#method-1-install-ready-to-paste-package)

[Download Link - HK2 - ScrollTop - (https://github.com/basantmandal/HK2-ScrollTop-Magento-Module/releases)](https://github.com/basantmandal/HK2-ScrollTop-Magento-Module/releases)

Download the zip package and unzip it in app/code folder.

Enable Extension:
-----------------

[](#enable-extension)

```
php bin/magento module:enable HK2_ScrollTop
```

```
php bin/magento setup:upgrade
```

```
php bin/magento setup:static-content:deploy
```

```
php bin/magento cache:clean
```

Disable Extension:
------------------

[](#disable-extension)

```
php bin/magento module:disable HK2_ScrollTop
```

```
php bin/magentosetup:upgrade
```

```
php bin/magento setup:static-content:deploy
```

```
php bin/magento cache:clean
```

### Method 2: Install via composer (Recommend)

[](#method-2-install-via-composer-recommend)

Run the following command in Magento 2 root folder

```
composer require hk2/scrolltop
```

```
php bin/magento setup:upgrade

```bash
php bin/magento setup:static-content:deploy
```

🛠️ Maintenance mode
-------------------

[](#️-maintenance-mode)

You may want to enable the maintenance mode when installing or updating the module, especially when working on a production website. To do so, run the two commands below before and after running the other setup commands:

### Enable Maintenance Mode

[](#enable-maintenance-mode)

```
php bin/magento maintenance:enable
```

### Disable Maintenance Mode

[](#disable-maintenance-mode)

```
php bin/magento maintenance:disable
```

Feel Free to send your suggestions of any changes/improvements, will be happy to add the changes.

### Usage - How Does The Extension Work?

[](#usage---how-does-the-extension-work)

Once module is enabled you can see it on all pages. Please check the Screenshots

[![screenshot1](docs/images/Screenshot_01.png)](docs/images/Screenshot_01.png)[![screenshot2](docs/images/Screenshot_02.png)](docs/images/Screenshot_02.png)

🤫 Privacy
---------

[](#-privacy)

This extension does not read, change, store, or transmit any of your personal data (e.g., logins, passwords, messages, contacts) from any of the sites or your computer in absolutely any form.

📫 Support
---------

[](#-support)

For support or any bug report or changes mail me at -

🐞 Bug Report
------------

[](#-bug-report)

Please open an [issue](https://github.com/basantmandal/HK2-ScrollTop-Magento-Module/issues) on GitHub.

When filing a bug remember that the better written the bug is, the more likely it is to be fixed.

You can also reach us at

🍰 Contribution Guidelines 💖
---------------------------

[](#-contribution-guidelines-)

Contributions are welcome! If you’d like to contribute to this project:

- Fork the repository.
- Create a new branch (git checkout -b feature/your-feature-name).
- Make your changes and commit them (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/your-feature-name).
- Open a pull request.

**Please Note** :- I may be a bit delayed in responding or slow in responding due to low amount of free time. I apologize for the inconvenience and I appreciate your patience

🤝 Consent
---------

[](#-consent)

By using any Product/Module/Application from Basant Mandal A.K.A (HK2 - Hash Tag Kitto), you hereby consent to our disclaimer and agree to its terms.

📢 Disclaimer
------------

[](#-disclaimer)

> **Basant Mandal (HK2 - Hash Tag Kitto)** does not make any warranties about the completeness, reliability and accuracy of this image or its related products. Any action you take upon the information you find here is strictly at your own risk.

> **Basant Mandal (HK2 - Hash Tag Kitto)** will not be liable for any losses and/or damages in connection with the use of our website.

💖Like my work? Help Us
----------------------

[](#like-my-work-help-us)

Please rate my project or give some stars at . You can also contribute to make my Open Source Contribution more frequent and help others -  or

📫 Feedback
----------

[](#-feedback)

If you have any feedback, please reach out to us at

🔗 Links:
--------

[](#-links)

Feel free to reach me through the below handles if you'd like to contact me.

[![portfolio](https://camo.githubusercontent.com/ee59c11a0ffcc301e7d0b1201866923b89c43bfd5701d3a45eef9372794dc301/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d795f706f7274666f6c696f2d3030303f7374796c653d666f722d7468652d6261646765266c6f676f3d6b6f2d6669266c6f676f436f6c6f723d7768697465)](https://www.basantmandal.in/)[![linkedin](https://camo.githubusercontent.com/9745a59ad4a919d2e524512c3f732c820d4aa0fe927def4f37c4aba08f7e42bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b6564696e2d3041363643323f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e266c6f676f436f6c6f723d7768697465)](https://www.linkedin.com/in/basantmandal/)

📜 License:
----------

[](#-license)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)[![GPLv3 License](https://camo.githubusercontent.com/da9c3abfd62c32a94031c3a382cb7c85dbd4cede411416837adfe6b8fda05ba1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d79656c6c6f772e737667)](https://opensource.org/licenses/)[![AGPL License](https://camo.githubusercontent.com/aed477ac82de60abd644cfa7c9d381eebe9a00d5d32168644f7e6d2a23957d1b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4147504c2d626c75652e737667)](http://www.gnu.org/licenses/agpl-3.0)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance64

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~462 days

Total

3

Last Release

509d ago

PHP version history (2 changes)1.0.0PHP ^7.3.0|^7.4.0|^8.0|^8.1.0

1.1.0PHP ^7.3.0|^7.4.0|^8.0|^8.1.0|^8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffa270f1557c4c55c55fec1ad6f2544170980c8dd7f679c10582a3736f7d3a4c?d=identicon)[basantmandal](/maintainers/basantmandal)

---

Top Contributors

[![basantmandal](https://avatars.githubusercontent.com/u/69835601?v=4)](https://github.com/basantmandal "basantmandal (61 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (7 commits)")

---

Tags

scroll-to-topHK2Basantbasantmandal.inscrolltopHK2\_ScrollTop

### Embed Badge

![Health badge](/badges/hk2-scrolltop/health.svg)

```
[![Health](https://phpackages.com/badges/hk2-scrolltop/health.svg)](https://phpackages.com/packages/hk2-scrolltop)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[bluezed/yii2-scroll-top

This Yii 2 widget adds a simple scroll-to-top button to your site.

1054.5k](/packages/bluezed-yii2-scroll-top)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
