Socket
Socket
Sign inDemoInstall

github.com/locomotivemtl/locomotive-scroll

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/locomotivemtl/locomotive-scroll


Version published

Readme

Source

Warning

Locomotive Scroll v.5 is currently in beta. Be prepared for breaking changes compared to previous versions.

Locomotive Scroll v.5

Detection of elements in viewport & smooth scrolling with parallax effects.

Locomotive Scroll is an opinionated JavaScript library that provides smooth scrolling animations and advanced scroll interactions for web applications. It is designed to create engaging and interactive scrolling experiences with ease. Locomotive Scroll offers features such as smooth scrolling, parallax effects and scroll-based animations.

Read the documentation for more details.

Installation

You can install it via NPM by running the following command:

npm install locomotive-scroll@beta

Find more ways to install the package in our Quick start guide.

Features

NameSupportDescription
LenisBuilt on top of Lenis.
TypeScriptFor a better developer experience
Built-in viewport detectionUsing browsers's native Intersection Observer API
Real time progress valueFor flexible scroll-based animation
Accessibility and performanceMore than ever!
Lightweight8.3KB (gzip)

Dependencies

NameDescription
LenisHow smooth scroll should be.

FAQs

Last updated on 30 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc