• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Codemotion Magazine

We code the future. Together

  • Discover
    • Events
    • Community
    • Partners
    • Become a partner
    • Hackathons
  • Magazine
    • Backend
    • Frontend
    • AI/ML
    • DevOps
    • Dev Life
    • Soft Skills
    • Infographics
  • Talent
    • Discover Talent
    • Jobs
    • Manifesto
  • Companies
  • For Business
    • EN
    • IT
    • ES
  • Sign in
ads

CodemotionSeptember 28, 2022

Scroll-Triggered Animations: Do’s and Don’ts

Design/UX
scroll-triggered animation, project IDX, visual studio code
facebooktwitterlinkedinreddit

A scroll-triggered animation is an amazing way to engage users visiting your webpage or app. They add storytelling, help in drawing user attention into where you want it, and can be visually stunning and creative.

Scroll-triggered animations are also known as AOS (Animate On Scroll) andm basically, they allow users to you to give life to different elements as they scroll up and down. Generally, scrolling down enables the animation, and scrolling up brings them back to their original “closed” state.

Recommended article
css repos
January 21, 2025

Building Agnostic Components with CVA and TailwindDesign/UX

jmlweb

Design/UX

Knowing how to use this can be a key asset in any web designer’s skill set, but there are many things to consider. When to use them and what for? When NOT to use them? How to use these animations? Which are the best libraries? Are they accessible and natural or maybe you’re creating something that can harm the UX? Find answers to these questions in the video below!

Loading the player...

More about scroll-triggered animations

The best way to create scroll triggered animations is to find the right libraries for them. Of course, this requires some testing and exploration on the dev’s part, as not all libraries work everywhere, and some of them are designed for specific purposes, but here are some Libraries that are a good starting point.

Vivus.JS: Allows to animate SVGs.
AOS (Animate on Scroll Library): includes options like flip, zoom, fade, and more.
Sal.js: limited but a great starting point for beginners! Lightweight.
GSAP scroll trigger: very complete, stable, and great performance!

About Cassie Evans

Cassie defines herself as a creative developer with a background in graphic design and motion design. She got started with coding back in the days of Myspace and Neopets and is on a mission to make the web more whimsical again. She’s a massive SVG nerd, owner of the world’s most clacky keyboard, and spends her days tinkering on codepen and helping people learn about web animation.

Related Posts

web accessibility, accessibilità, WCAG

Making the Web Accessible to Everyone

Codemotion
October 27, 2023
SolidJS, Javascript, Frameworks

Web Animation: How to Create Engaging and Interactive User Experiences

Grace Lau
September 1, 2023
optifine

OptiFine for Minecraft? You Should Definitely Try It

Lucilla Tomassi
August 25, 2023
react component librararies for UI design.

React Component Libraries for Boosting Your UI Design

Codemotion
July 6, 2023
Share on:facebooktwitterlinkedinreddit

Tagged as:Web Developer

Codemotion
Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.
Ethical Dilemmas in Artificial Intelligence Development
Previous Post
Books That Every Dev Should Read: Updated!
Next Post

Footer

Discover

  • Events
  • Community
  • Partners
  • Become a partner
  • Hackathons

Magazine

  • Tech articles

Talent

  • Discover talent
  • Jobs

Companies

  • Discover companies

For Business

  • Codemotion for companies

About

  • About us
  • Become a contributor
  • Work with us
  • Contact us

Follow Us

© Copyright Codemotion srl Via Marsala, 29/H, 00185 Roma P.IVA 12392791005 | Privacy policy | Terms and conditions