awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cferdinandi avatar

cferdinandi/smooth-scrollArchived

0
View on GitHub↗
5,444 stars·839 forks·JavaScript·MIT·20 vues

Smooth Scroll

Cette bibliothèque JavaScript de défilement fluide est un utilitaire frontend et un contrôleur de mouvement de viewport conçu pour animer les transitions vers des liens d'ancrage. Elle intercepte les clics de liens standard pour remplacer les sauts instantanés par un mouvement fluide vers les éléments cibles.

La bibliothèque fournit des patterns d'accélération (easing) configurables et des contrôles de vitesse pour gérer l'accélération et la décélération. Elle inclut un mécanisme pour annuler immédiatement les animations actives et supporte le déclenchement de défilement programmatique via des appels de fonction directs.

L'outil gère les offsets de positionnement pour éviter que le contenu cible ne soit caché derrière des en-têtes fixes et synchronise la barre d'adresse du navigateur pendant les transitions. Il dispose également d'un système de callback piloté par les événements qui déclenche des effets de bord lorsque les animations de défilement commencent, se terminent ou sont interrompues.

Features

  • Anchor Link Animators - Provides a specialized utility to intercept link clicks and glide the viewport to target elements.
  • Animation Easing Functions - Offers configurable mathematical easing patterns to control the acceleration and deceleration of scrolls.
  • Easing Functions - Implements mathematical easing functions to provide natural acceleration and deceleration during viewport transitions.
  • Section Jump Links - Transforms instant jumps to section anchor links into fluid, animated transitions.
  • Animation Customizations - Allows fine-tuning of transition speeds and easing patterns to enhance the visual feel of page movement.
  • Smooth Scrolling - Replaces native instant jumps to anchor links with fluid, animated transitions.
  • Element-Targeted Scrolling - Enables programmatic viewport movement to specific DOM elements via JavaScript function calls.
  • Fixed Element Offsets - Provides pixel-accurate offsets to prevent target content from being hidden behind fixed navigation headers.
  • Imperative Scroll Controllers - Provides imperative control over the viewport's scroll position with support for positional offsets.
  • Viewport Control - Manages the movement and visibility of the viewport through custom animations and event callbacks.
  • RequestAnimationFrame Loops - Uses requestAnimationFrame to calculate and apply incremental scroll positions for fluid, high-performance motion.
  • Smooth Scroll Libraries - Implements a JavaScript library for high-performance, configurable smooth scrolling to anchor links.
  • Event Interception - Intercepts default browser anchor jump behaviors to trigger custom smooth scrolling animations.
  • Fixed Header Offsets - Adjusts the final scroll position to ensure target elements are not obscured by fixed navigation bars.
  • Animation Cancellations - Includes a mechanism to immediately stop an ongoing scroll animation and freeze the viewport.
  • Transit Duration Controls - Allows adjusting transit time based on scroll distance or setting fixed durations for consistent motion.
  • Viewport Offset Adjustments - Provides logic to offset target scroll coordinates so content remains visible beneath fixed navigation headers.
  • URL State Synchronization - Synchronizes the browser address bar with target anchor fragments during smooth scrolling transitions.
  • 平滑滚动插件(Smooth Scroll) - Listed in the “平滑滚动插件(Smooth Scroll)” section of the Awesome Frontend awesome list.

Historique des stars

Graphique de l'historique des stars pour cferdinandi/smooth-scrollGraphique de l'historique des stars pour cferdinandi/smooth-scroll

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Smooth Scroll

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Smooth Scroll.
  • tholman/elevator.jsAvatar de tholman

    tholman/elevator.js

    6,641Voir sur GitHub↗

    elevator.js is a lightweight JavaScript library that adds a playful, elevator-themed scroll-to-top button to a webpage. When clicked, it smoothly animates the page back to the top while playing a looping elevator music track in the background, masking the transition and adding a whimsical touch to the user experience. The library goes beyond a simple scroll-to-top button by offering configurable scroll duration, the ability to scroll to any specified DOM element with optional vertical padding, and callback hooks that fire user-defined functions at the start and end of the animation. This allo

    JavaScript
    Voir sur GitHub↗6,641
  • fisshy/react-scrollAvatar de fisshy

    fisshy/react-scroll

    4,411Voir sur GitHub↗

    react-scroll is a library for managing smooth and immediate scrolling behavior between page elements in React applications. It functions as a DOM scroll controller, providing a declarative API and a set of components to animate the viewport to specific target elements. The library enables custom scrolling by allowing the viewport to move to target elements through either instant jumps or animated transitions. It provides a system for integrating this scrolling logic into custom components using mixins to define specific movement triggers and targets. The project covers viewport navigation an

    JavaScript
    Voir sur GitHub↗4,411
  • ustbhuangyi/better-scrollAvatar de ustbhuangyi

    ustbhuangyi/better-scroll

    16,489Voir sur GitHub↗

    Better-scroll is a JavaScript scroll library and touch interaction engine designed to create high-performance scrollable areas in web browsers. It functions as a modular UI component framework that provides the foundation for building complex scrollable elements. The library is distinguished by a plugin-based architecture that allows the injection of custom methods and event hooks. This system enables the creation of specialized interface components such as carousel sliders, scrollable picker inputs, and draggable element systems. The project covers a wide range of mobile web interaction pat

    TypeScriptbetter-performanceiosiscroll
    Voir sur GitHub↗16,489
  • greensock/gsapAvatar de greensock

    greensock/GSAP

    23,877Voir sur GitHub↗

    GSAP is a comprehensive JavaScript animation library designed for orchestrating complex motion sequences and interactive user interfaces. It provides a robust property-interpolation engine that calculates intermediate values for CSS styles, attributes, and numeric properties, enabling smooth visual transitions across web elements. The framework is built on a core architecture that manages animation lifecycles, timeline-based sequence orchestration, and virtual property interception to ensure precise control over motion. The library distinguishes itself through a modular, plugin-based extensib

    JavaScriptanimationgsapjavascript
    Voir sur GitHub↗23,877
Voir les 30 alternatives à Smooth Scroll→

Questions fréquentes

Que fait cferdinandi/smooth-scroll ?

Cette bibliothèque JavaScript de défilement fluide est un utilitaire frontend et un contrôleur de mouvement de viewport conçu pour animer les transitions vers des liens d'ancrage. Elle intercepte les clics de liens standard pour remplacer les sauts instantanés par un mouvement fluide vers les éléments cibles.

Quelles sont les fonctionnalités principales de cferdinandi/smooth-scroll ?

Les fonctionnalités principales de cferdinandi/smooth-scroll sont : Anchor Link Animators, Animation Easing Functions, Easing Functions, Section Jump Links, Animation Customizations, Smooth Scrolling, Element-Targeted Scrolling, Fixed Element Offsets.

Quelles sont les alternatives open-source à cferdinandi/smooth-scroll ?

Les alternatives open-source à cferdinandi/smooth-scroll incluent : tholman/elevator.js — elevator.js is a lightweight JavaScript library that adds a playful, elevator-themed scroll-to-top button to a… fisshy/react-scroll — react-scroll is a library for managing smooth and immediate scrolling behavior between page elements in React… ustbhuangyi/better-scroll — Better-scroll is a JavaScript scroll library and touch interaction engine designed to create high-performance… greensock/gsap — GSAP is a comprehensive JavaScript animation library designed for orchestrating complex motion sequences and… iamdustan/smoothscroll — smoothscroll is a browser compatibility library and JavaScript polyfill that provides uniform smooth scrolling… chrisbuilds/terminaltexteffects — This project is a terminal graphics library and command-line visual effects tool designed to create dynamic motion…