# mciastek/sal

🚀 Performance focused, lightweight scroll animation library 🚀

Repository: https://github.com/mciastek/sal
Canonical: https://ross.abutalabs.com/products/sal
Homepage: https://mciastek.github.io/sal/
Language: HTML
License: MIT
License Family: permissive
Last push: 2023-01-07T04:11:22+00:00

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

## Adoption (not part of the score)
Stars 3693, forks 173 (observed 2026-08-28T04:08:14.818719+00:00)

## What it is
Sal (Scroll Animation Library) is a lightweight, dependency-free JavaScript library for animating elements as they scroll into the viewport. It uses the Intersection Observer API for high performance and is configured via simple data attributes in HTML.

## Use cases
- animate elements on scroll
- add fade or slide effects when elements enter the viewport
- lightweight scroll reveal animations without jQuery
- performant scroll-triggered animations using Intersection Observer
- add entrance animations to a landing page
- customize animation duration, delay, and easing via data attributes

## When to choose
- you need a tiny (<3 kb), zero-dependency scroll animation solution
- you want simple declarative setup with data attributes
- performance matters and you want to leverage Intersection Observer
- you only need basic fade, slide, zoom, and flip entrance animations

## When to avoid
- you need advanced scroll-linked or parallax animations, not just entrance reveals
- you must support very old browsers without Intersection Observer and don't want a polyfill
- you want a full-featured animation engine like GSAP with timelines and keyframes
- you need actively developed software with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, ui-components
- domain: frontend, web-development
- platform: browser
- tags: scroll-animation, intersection-observer, vanilla-javascript, lightweight, zero-dependencies, javascript

## Member repositories
- mciastek/sal (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:14.818719+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-29T18:31:06.418053+00:00, confidence not recorded.
  - readme: https://github.com/mciastek/sal (fetched 2026-08-28T04:08:14.818719+00:00, sha 4a5a4a2d9c85)
  - homepage: https://mciastek.github.io/sal/ (fetched 2026-08-29T09:24:45.628718+00:00, sha c4b12348574e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
