# tholman/elevator.js

Finally, a "back to top" button that behaves like a real elevator.

Repository: https://github.com/tholman/elevator.js
Canonical: https://ross.abutalabs.com/products/elevatorjs
Homepage: http://tholman.com/elevator.js
Language: JavaScript
License Family: other
Last push: 2020-06-26T15:20:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4161, "days_push": 2259, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6638, forks 491 (observed 2026-08-28T04:09:45.870858+00:00)

## What it is
A standalone vanilla JavaScript library that adds a playful 'back to top' button which smoothly scrolls the page to the top while playing elevator music. It handles audio management and scroll animation with no dependencies.

## Use cases
- add a fun back to top button to a website
- smooth scroll to top of page with sound effects
- scroll to a specific element on click
- play elevator music during page scrolling
- customize scroll duration and target padding

## When to choose
- you want a dependency-free, standalone scroll-to-top solution
- you want a humorous, memorable user experience on a fun or personal site
- you need simple configurable scrolling to top or a target element

## When to avoid
- you need a serious, professional scroll-to-top without audio gimmicks
- you need a full-featured scroll or animation library
- you need actively maintained software with guaranteed updates

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, ui-components
- domain: frontend, web-development
- platform: browser
- tags: scroll-to-top, novelty, elevator-music, vanilla-js, no-dependencies, javascript

## Member repositories
- tholman/elevator.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.870858+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:43:12.441942+00:00, confidence not recorded.
  - readme: https://github.com/tholman/elevator.js (fetched 2026-08-28T04:09:45.870858+00:00, sha 1763424d953f)
  - homepage: http://tholman.com/elevator.js (fetched 2026-08-29T08:39:54.445691+00:00, sha be2964c63908)
  - registry_npm: https://registry.npmjs.org/elevator.js (fetched 2026-08-29T08:39:54.454909+00:00, sha a3ba5a4c1e6d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
