# hsnaydd/moveTo

A lightweight scroll animation javascript library without any dependency

Repository: https://github.com/hsnaydd/moveTo
Canonical: https://ross.abutalabs.com/products/moveto
Homepage: https://hsnaydd.github.io/moveTo/demo/
Language: JavaScript
License: MIT
License Family: permissive
Topics: moveto, scrolling, lightweight, scroll, smooth-scrolling, animation, scroll-animations, smooth, click-to-scroll
Last push: 2026-01-21T23:36:53+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 8, longevity 100
- inputs: {"age_days": 3463, "days_push": 224, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2852, forks 93 (observed 2026-08-28T04:07:25.703735+00:00)

## What it is
MoveTo is a lightweight (1kb gzipped) JavaScript library for smooth scroll animations with no dependencies. It lets you programmatically scroll to elements or positions with configurable duration, easing, and callbacks.

## Use cases
- smooth scroll to anchor links on click
- animate page scrolling to a target element
- add back-to-top button with smooth scrolling
- custom easing for scroll animations
- scroll to a specific pixel position

## When to choose
- you need a tiny, dependency-free smooth scrolling solution
- you want configurable duration, easing, and scroll callbacks
- you prefer declarative triggers via data attributes

## When to avoid
- you need full-page scroll hijacking or parallax effects
- your framework already provides built-in smooth scrolling (e.g. CSS scroll-behavior)
- you need scroll-triggered reveal animations rather than scroll-to-target

## Facets
- artifact type: library
- maturity: stable
- function: animation, ui-components
- domain: frontend, web-development
- platform: browser
- tags: smooth-scrolling, scroll-animation, zero-dependency, lightweight, javascript

## Member repositories
- hsnaydd/moveTo (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.703735+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-30T07:36:52.990891+00:00, confidence not recorded.
  - readme: https://github.com/hsnaydd/moveTo (fetched 2026-08-28T04:07:25.703735+00:00, sha 7acffda57462)
  - homepage: https://hsnaydd.github.io/moveTo/demo/ (fetched 2026-08-29T09:52:41.429694+00:00, sha 4e4259ea41f2)
  - registry_npm: https://registry.npmjs.org/moveto (fetched 2026-08-29T09:52:41.440218+00:00, sha 5dd0ef21bba4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
