This tutorial demonstrates creating an interactive slider using React and Swiper JS. It guides you through customizing slide layouts, centering the active slide dynamically, and implementing smooth transitions for a responsive design. It also covers the use of breakpoints for different screen sizes, assigning a Swiper wrapper to a ref for margin adjustments, and styling slides with CSS to enhance user interaction.
📂 Swiper React Components: https://swiperjs.com/react
🏞️ The images are designed by Freepik: https://www.freepik.com
⭐ Lists:
Mini React Projects: • Mini React Projects
Swiper JS: • Swiper JS
GSAP: • GSAP
Slider with Vanilla Javascript & CSS: • Slider with Vanilla Javascript & CSS
Background Animation: • Background Animation
CSS Hover Effect: • CSS Hover Effect
👩💻 My Social Profiles:
X: https://x.com/ecemgo
Codepen: https://codepen.io/ecemgo
GitHub: https://github.com/ecemgo
TikTok: / ecemgo
🕔 Timestamps:
0:00 – Intro
1:07 – Starting with React
1:20 – Installing Swiper JS and creating the slider
4:34 – CSS
9:50 – Media queries to make it responsive