Skip to content

So, I've been knee-deep in React.js for a while now and let me tell you, it's a freaking blast. I absolutely dig it! One day, I stumbled upon this mind-blowing image carousel on Apple’s homepage.. f it’s still there, go check it out. It was so slick, I instantly fell head over heels in love.

License

Notifications You must be signed in to change notification settings

treezycoder/react-infinity-carousel

Repository files navigation

🚀 Ultimate Infinite Image Carousel/Slider in React.js version 18 & Tailwind CSS 🎢

What Sparked This Madness?

So, I've been knee-deep in React.js for a while now and let me tell you, it's a freaking blast. I absolutely dig it! One day, I stumbled upon this mind-blowing image carousel on Apple’s homepage.. if it’s still there, go check it out. It was so slick, I instantly fell head over heels in love.

Naturally, I thought, "Why not recreate that awesomeness in React?" Little did I know, it wasn’t just a walk in the park—it was more like solving a Rubik’s Cube blindfolded in a hurricane. Yeah, it was that intense. 😅

I wrangled with it, called in the cavalry, and tried everything under the sun. I scoured through countless YouTube tutorials (80% of which were using fancy dependencies like Framer Motion and React Spring—cool tools, but with their own set of headaches). I even dived into endless CodePen examples with zero luck.

Then, I found a gem of a tutorial on this website. It was a Vanilla JS approach that made some sense, but let’s just say, React’s DOM manipulation threw a wrench in the gears. Debugging that mess was a journey of its own.

After a battle of epic proportions, and with a little nudge from that tutorial author (who definitely helped me get off my couch), I finally nailed it, Apple’s carousel was cooler but hey I'm only human. Now, I’m sharing this with you—because if I can pull this off, so can you! Just follow along, and you’ll be coding up some killer carousels in no time. 💪

Feel free to tweak the code, make it even cooler, and add your name to the list of legends:

Contributors:

  • codertreez (That’s me! The mastermind behind this madness)
  • [Your Name] (If you make it cooler, add yourself here!)

Code License: Free to React developers. If you use it, credit the author. Let’s keep the love for code alive!

Reach Out:

how to use?

  • run npm start. make sure your have tailwind running..

Happy coding, and may your carousels be ever infinite! 🚀

About

So, I've been knee-deep in React.js for a while now and let me tell you, it's a freaking blast. I absolutely dig it! One day, I stumbled upon this mind-blowing image carousel on Apple’s homepage.. f it’s still there, go check it out. It was so slick, I instantly fell head over heels in love.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published