PHPackages                             swissup/module-stickybits - 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. swissup/module-stickybits

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

swissup/module-stickybits
=========================

Stickybits is a lightweight alternative to `position: sticky` polyfills

1.0.1(6y ago)12562MITJavaScript

Since Jan 4Pushed 6y ago4 watchersCompare

[ Source](https://github.com/swissup/module-stickybits)[ Packagist](https://packagist.org/packages/swissup/module-stickybits)[ RSS](/packages/swissup-module-stickybits/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Stickybits
==========

[](#stickybits)

**This repo is just an integration of original library into Magento 2.**

> Stickybits is a lightweight alternative to position: sticky polyfills. It works perfectly for things like sticky headers.

See original repository for more information:

### Installation

[](#installation)

```
cd
composer require swissup/module-stickybits
bin/magento module:enable Swissup_Stickybits
bin/magento setup:upgrade
```

### Usage

[](#usage)

Basic example:

```
require(['stickybits'], function (stickybits) {
    stickybits('.sidebar');
});
```

> See all examples at official site:

Advanced example (works for dynamically added elements):

```
require([
    'Magento_Ui/js/lib/view/utils/async',
    'stickybits'
], function ($, stickybits) {
    $.async('.sidebar', function (el) {
        stickybits(el, {
            useStickyClasses: true,
            stuckClass: 'is_stuck'
        });
    });
});
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~432 days

Total

2

Last Release

2257d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1108bccc259ec1b0fc93f04a182965faf1213460894ee297f1acf3482e3296ac?d=identicon)[vovayatsyuk](/maintainers/vovayatsyuk)

![](https://www.gravatar.com/avatar/33aea824c2948821ee367ad65fab9d355c71d86ce4ff021a40882a410f14ef94?d=identicon)[swissup](/maintainers/swissup)

---

Top Contributors

[![vovayatsyuk](https://avatars.githubusercontent.com/u/306080?v=4)](https://github.com/vovayatsyuk "vovayatsyuk (3 commits)")[![sfritzsche](https://avatars.githubusercontent.com/u/32567473?v=4)](https://github.com/sfritzsche "sfritzsche (2 commits)")

### Embed Badge

![Health badge](/badges/swissup-module-stickybits/health.svg)

```
[![Health](https://phpackages.com/badges/swissup-module-stickybits/health.svg)](https://phpackages.com/packages/swissup-module-stickybits)
```

PHPackages © 2026

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