PHPackages                             softdude/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. softdude/scrolltop

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

softdude/scrolltop
==================

A Craft CMS 5 plugin that adds a scroll-to-top button to your site.

0.1.8(10mo ago)224TwigPHP &gt;=8.0CI passing

Since Jul 11Pushed 10mo agoCompare

[ Source](https://github.com/thesoftdude/scrolltop)[ Packagist](https://packagist.org/packages/softdude/scrolltop)[ RSS](/packages/softdude-scrolltop/feed)WikiDiscussions main Synced 1mo ago

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

Scroll to top Plugin for Craft CMS 4/5
======================================

[](#scroll-to-top-plugin-for-craft-cms-45)

A lightweight Craft CMS 4/5 plugin that adds a customizable scroll-to-top button to your site.

System Requirements
-------------------

[](#system-requirements)

- **Craft CMS**: 4.0.0 or later
- **PHP**: 8.0 or later
- **Browser Support**: All modern browsers (Chrome, Firefox, Safari, Edge)

Features
--------

[](#features)

- Adds a customizable scroll-to-top button to your frontend
- Control Panel settings for easy customization
- Smooth scrolls the page to the top
- Lightweight: only **2.4 KB** minified (1.07 KB gzipped)
- Enable/disable toggle
- Customizable position, colors, size, and animation

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

[](#installation)

1. **Run this command** in your project directory:

```
composer require softdude/scrolltop
```

2. **Install in Craft** by going to Settings → Plugins → Install "Scroll to Top"

Usage
-----

[](#usage)

Once installed and enabled, the plugin will automatically add a scroll-to-top button to your site's frontend. The button will appear after scrolling down and will smoothly scroll the page to the top when clicked.

### Quick Start

[](#quick-start)

1. **Install the plugin** (see Installation section above)
2. **Go to Settings → Scroll to Top** in your Craft Control Panel
3. **Configure your preferences** (colors, position, size, etc.)
4. **Save your settings**
5. **Visit your frontend** and scroll down to see the button in action!

The button will automatically appear when users scroll past the threshold you set, and disappear when they scroll back to the top.

Customization
-------------

[](#customization)

All customization is done through the Craft Control Panel:

1. Go to **Scroll to Top** in your Control Panel
2. Configure the button settings:
    - **Enable/Disable**: Turn the button on or off
    - **Position**: Choose from bottom-right, bottom-left, top-right, top-left
    - **Colors**: Customize button color, hover color, and text color
    - **Size**: Adjust button size (default: 48px)
    - **Icon**: Choose from various icon types or use custom SVG
    - **Animation**: Enable/disable smooth scrolling and adjust speed
    - **Threshold**: Set scroll distance before button appears

Support
-------

[](#support)

For issues, questions, or custom development, contact: ****

You can also create an issue in the plugin repository.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance54

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.4% 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 ~0 days

Total

3

Last Release

309d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d623df44feb8a6f141dd34795350817ebba87c9dfd270f8016a44d027ff6542?d=identicon)[thejahid](/maintainers/thejahid)

---

Top Contributors

[![thejahid](https://avatars.githubusercontent.com/u/19249856?v=4)](https://github.com/thejahid "thejahid (13 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (6 commits)")

### Embed Badge

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

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

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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