
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
astro-lenis
Advanced tools
astro-lenis
This is an Astro integration that adds simple and performant smooth-scrolling with Lenis.
Install the integration automatically using the Astro CLI:
npx astro add astro-lenis
pnpm astro add astro-lenis
yarn astro add astro-lenis
Or install it manually:
npm install astro-lenis
pnpm add astro-lenis
yarn add astro-lenis
astro.config.mjs
+import lenis from "astro-lenis";
export default defineConfig({
integrations: [
+ lenis(),
],
});
This package is meant to be a simple drop-in smooth-scroll solution using the default Lenis configuration. If you need a more complex solution visit the Lenis Github.
MIT Licensed. Made with ❤️ by Matthew Justice.
@Bryceguy for helping me out so much with this in the discord
@Florian for making the template
@Houston because you're cute
FAQs
A simple drop in lenis integration for Astro. Get smooth or die trying.
The npm package astro-lenis receives a total of 26 weekly downloads. As such, astro-lenis popularity was classified as not popular.
We found that astro-lenis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.