A modern, responsive image slider built with React.js, offering smooth transitions, infinite scrolling, and both auto/manual navigation. Perfect for galleries, portfolios, landing pages, or any project that needs a clean visual carousel.
- βοΈ Built with React + Hooks
- π± Fully responsive on all devices
- π Auto-play with progress timer
- π±οΈ Manual navigation (Next / Prev)
- βΎοΈ Infinite looping of slides
- π¨ CSS animations for elegant transitions
- πΌοΈ Easily customizable and extendable
- π¦ Ready to integrate into any React app
Here is the demo link: Slide Fusion
Make sure you have the following installed on your system:
git clone https://github.com/amirshehzadshah/slidefusion.git
cd slidefusion
npm install
npm start
This will start the development server on http://localhost:3000/
and open the project in your default web browser.
src/
βββ components/
β βββ Carousel.jsx # Core slider logic
β βββ Navbar.jsx # Navbar
β βββ SliderItem.jsx # Individual image slide
βββ App.jsx # Entry component
βββ index.css # Global styles
βββ image/ # Your image assets
- Uses a dynamic list to render images and rotate them on Next/Prev click.
useState
handles reordering of slides.useEffect
sets and resets auto-slide intervals.- CSS handles the animations and slide positioning.
- One image at a time is highlighted with text and buttons.
- Add your images to
/image
and update the array inApp.jsx
- Modify timing values in
Carousel.jsx
(timeRunning
,timeAutoNext
) - Adjust animation styles in
index.css
Inspired by a YouTube video from Creative JS Coder β originally built using HTML, CSS, and JavaScript. Reimagined and rebuilt in React for a modern, component-driven experience. π₯βοΈ
Feel free to connect on LinkedIn.
Crafted with β€οΈ by AMIR SHEHZAD SHAH
Enjoy React Slide Fusion Carousel! π