---
title: "Discussion on \"Use framer-motion & IntersectionObserver to build scroll animations\" | Hashnode"
description: "Discussion on \"Use framer-motion & IntersectionObserver to build scroll animations\". Scroll-based animations can be triggered in two ways - by listening to the scroll event or by using IntersectionObserver. In this article, we will go through step by step process of building the scroll animation using IntersectionObserver. It's no fu..."
url: "https://hashnode.com/posts/use-framer-motion-intersectionobserver-to-build-scroll-animations/64550756ce5e292ba1731a86"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Use framer-motion & IntersectionObserver to build scroll animations](https://shyamswaroop.hashnode.dev/use-framer-motion-intersectionobserver-to-build-scroll-animations?utm_source=hashnode&utm_medium=feed)

Scroll-based animations can be triggered in two ways - by listening to the scroll event or by using IntersectionObserver. In this article, we will go through step by step process of building the scroll animation using IntersectionObserver. It's no fu...

May 5, 2023 · 5 min read · shyamswaroop.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#framer-motion](https://hashnode.com/tag/framer-motion)
-   [#css-animation](https://hashnode.com/tag/css-animation)

## Written by

[Shyam Swaroop](https://hashnode.com/@cruxcode)

@cruxcode · New York, USA

  
[View profile](https://hashnode.com/@cruxcode)

Redefining Developer Tools

## Responses 1

Markdown supported · ⌘↵ to post

[Abhay Singh Rathore](https://hashnode.com/@abhaysinghr1)

[May 5, 2023](https://hashnode.com/posts/use-framer-motion-intersectionobserver-to-build-scroll-animations/64550756ce5e292ba1731a86/comment/64551216a4b80711fbf2c161)

Brilliant approach to building scroll animations with framer-motion and IntersectionObserver - loving the reusable React component idea! 🚀

[Shyam Swaroop](https://hashnode.com/@cruxcode)

[May 5, 2023](https://hashnode.com/posts/use-framer-motion-intersectionobserver-to-build-scroll-animations/64550756ce5e292ba1731a86/comment/64551216a4b80711fbf2c161#reply-64552b11a4b80711fbf2c536)

Thanks [Abhay Singh Rathore](https://hashnode.com/@abhaysinghr516)
