plugin-icon

ScalingHawk Smooth Scroll (Powered by Lenis)

作者:Muhammad Aslam·
Smooth scrolling for WordPress powered by the Lenis JavaScript library.
版本
1.0.0
活跃安装
10
最后更新
May 27, 2026
ScalingHawk Smooth Scroll (Powered by Lenis)

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)
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。