DEV Community

Cover image for aos.js: Lightweight Animation on Scroll Library (5.7KB)
jQueryScript
jQueryScript

Posted on

aos.js: Lightweight Animation on Scroll Library (5.7KB)

aos.js: a lightweight JavaScript library that triggers scroll animations with TypeScript support.

Key features:

• Just 5.7KB (vs 14.7KB in original version)

• 30+ animation types: fade, flip, slide, zoom

• Works with React, Vue, Angular, Astro

• Includes destroy() method for proper cleanup

• Custom scroll container support

The modern TypeScript rewrite delivers better performance and smaller bundle sizes for production apps.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)