PHPackages                             backendorf/m2-scroll-to-top - 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. backendorf/m2-scroll-to-top

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

backendorf/m2-scroll-to-top
===========================

A lightweight and configurable Scroll to Top button for Adobe Commerce and Magento 2 storefronts.

1.0.0(7mo ago)01MITHTML

Since Oct 11Pushed 1mo agoCompare

[ Source](https://github.com/backendorf/m2-scroll-to-top)[ Packagist](https://packagist.org/packages/backendorf/m2-scroll-to-top)[ RSS](/packages/backendorf-m2-scroll-to-top/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Backentec Scroll To Top for Adobe Commerce / Magento 2
======================================================

[](#backentec-scroll-to-top-for-adobe-commerce--magento-2)

A lightweight and configurable module that adds a "Scroll to Top" button to your storefront.

Features
--------

[](#features)

- Enable/disable via admin configuration
- Configurable position: Left or Right
- Configurable style: Round or Square
- Smooth scroll animation
- Accessible (ARIA labels)
- Scope-aware configuration (Default / Website / Store View)

Requirements
------------

[](#requirements)

- PHP 8.1+
- Magento 2.4.x / Adobe Commerce 2.4.x
- Hyvä Theme (optional) — automatically detected, no extra configuration needed

Hyvä Theme Compatibility
------------------------

[](#hyvä-theme-compatibility)

When the Hyvä Theme is active, the module automatically serves an Alpine.js + Tailwind CSS template instead of the default jQuery/Less one.

No additional compatibility module is required. After installing, run:

```
bin/magento setup:upgrade
bin/magento hyva:config:generate
# inside your Hyvä theme directory (e.g. app/design/frontend/Hyva/default):
npm run build-prod
```

The `hyva:config:generate` command triggers the observer that registers this module in `app/etc/hyva-themes.json`. The subsequent `npm run build-prod` is when Tailwind actually scans the module templates and compiles the utility classes into the theme CSS. Without this step, the button will have no styles.

Installation
------------

[](#installation)

```
composer require backentec/m2-scroll-to-top
bin/magento module:enable Backentec_ScrollToTop
bin/magento setup:upgrade
bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

Admin panel: `Stores > Configuration > Backentec > Scroll To Top`

OptionDescriptionDefaultEnabledShow or hide the buttonYesPositionHorizontal position (Left / Right)RightStyleButton shape (Round / Square)RoundLicense
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance84

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

210d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9625b72ab076b8fd09e509fb153b23ec3ff9295e7e15ecf17a485f782e0dce4b?d=identicon)[backendorf](/maintainers/backendorf)

---

Top Contributors

[![backendorf](https://avatars.githubusercontent.com/u/37641316?v=4)](https://github.com/backendorf "backendorf (3 commits)")

### Embed Badge

![Health badge](/badges/backendorf-m2-scroll-to-top/health.svg)

```
[![Health](https://phpackages.com/badges/backendorf-m2-scroll-to-top/health.svg)](https://phpackages.com/packages/backendorf-m2-scroll-to-top)
```

###  Alternatives

[ivanovsaleksejs/num-to-text

Converts numbers or prices to text representation in various languages. For example, 437605 becomes "four hundred thirty seven thousand six hundred five". Price class for displaying prices with currencies is also available.

2015.9k](/packages/ivanovsaleksejs-num-to-text)[vildanbina/composer-upgrader

Effortlessly upgrade all Composer dependencies to their latest versions with a single command.

364.7k1](/packages/vildanbina-composer-upgrader)

PHPackages © 2026

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