pull down to refresh

Learn how to create an infinite marquee that follows a custom SVG path using React and Motion.

You’re likely familiar with the infinite scrolling marquee effect – that continuous horizontal scroll of content that many websites use to showcase their work, testimonials, or partner brands. It’s a lovely and simple effect, but in this tutorial, we will spice it up by creating a marquee that moves along a custom, funky SVG path. We’ll be using React, Typescript and Motion (formerly Framer Motion) for the animation, so let’s get started!

You can also find this component in Fancy Components, the growing library of ready-to-use React components & microinteractions.