跳到内容

ScalingHawk Smooth Scroll (Powered by Lenis)

v1.0.0

Muhammad Aslam · 2026年5月27日 上架

Smooth scrolling for WordPress powered by the Lenis JavaScript library.

正在使用
40+
评分
暂无
累计下载
564
最近更新
2026年5月27日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

Admin settings page — All settings
Admin settings page — All settings
Admin settings page — General settings
Admin settings page — General settings
Admin settings page — Scroll behaviour configuration
Admin settings page — Scroll behaviour configuration
Admin settings page — Mobile & touch options
Admin settings page — Mobile & touch options
Admin settings page — Navigation & anchor settings
Admin settings page — Navigation & anchor settings

ScalingHawk Smooth Scroll (Powered by Lenis) replaces the default browser scrolling with a smooth, fluid, inertia-based scrolling experience powered by the Lenis scrolling engine.

This plugin enables smooth scrolling in WordPress using the Lenis JavaScript library. This plugin is not affiliated with or endorsed by the Lenis project.

Key Features

  • Smooth Inertia Scrolling — Natural, frame-synced scroll animations
  • Smooth Anchor Links — Automatically smooths all anchor navigation (#links)
  • Fixed Header Support — Auto-detects sticky/fixed headers and offsets scroll targets
  • GSAP ScrollTrigger Compatibility — Syncs with GSAP animations automatically
  • Scroll-to-Top Support — Universal detection of scroll-to-top buttons across themes
  • Conflict Detection — Warns about existing smooth scroll CSS or libraries
  • Accessibility — Focus management after smooth scroll for keyboard/screen reader users
  • Dynamic Content — Handles AJAX content, page builders, and lazy-loaded sections
  • Admin Settings — Full control over scroll duration, smoothness, header offset, and more

Universal Theme Compatibility

Works with all WordPress themes including:

  • Kadence
  • Astra
  • GeneratePress
  • Flavor
  • Flavor starter
  • OceanWP
  • Elementor-based themes
  • Gutenberg block themes
  • Custom themes
  • Page builders (Elementor, WPBakery, Beaver Builder, Bricks)

Performance

  • No jQuery dependency
  • Single requestAnimationFrame loop
  • Lightweight architecture (~12KB total)
  • Defers to GSAP ticker when available (no double RAF)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums