Infinite Auto‑Scroll Carousel in Next.js w/ Framer Motion

Опубликовано: 17 Май 2026
на канале: asharcodes
543
18

Build an Auto-Scroll Carousel with Next.js 15 & Framer Motion!

In this video, I’ll show you how to create a smooth, fully responsive auto-scroll carousel using Next.js 15 and Framer Motion. Whether you’re working on a modern landing page or a dynamic product showcase, this carousel is lightweight, fast, and elegant.

What You'll Learn:
How to set up a basic Next.js 15 project
Using Framer Motion for smooth scroll animations
Making the carousel auto-scroll infinitely
Responsive layout tips for all devices

📁 Source Code:
https://github.com/ashar-ops/auto-scr...

👉 Nextjs Docs:
https://nextjs.org/

👉 Motion Docs:
https://motion.dev/docs/react

💡 If you found this helpful, please like, subscribe, and drop a comment to support the channel!

📌 Timestamps:
00:00 - Nextjs Project Setup
01:48 - Carousel Layout
05:35 - Adding Framer Motion
07:15 - Solving Element Type Invalid Error
08:20 - Auto Scroll Logic
10:28 - Final Demo (Images Carousel)
13:30 - Outro

🔗 Connect with me:
Twitter/X: https://x.com/asharcodes
GitHub: https://github.com/ashar-ops/auto-scr...
Blog: https://asharcodes.com/

#Nextjs #FramerMotion #Carousel #WebDev #AsharCodes