React Image Slider with Swiper JS from scratch

React Image Slider with Swiper JS from scratch

Digital CEO

2 года назад

18,861 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Facundo Storino
Facundo Storino - 18.10.2023 21:20

Awesome! thanks, Now you can make a swiper with more swipers per view? and without errors..

Ответить
oatie
oatie - 18.07.2023 11:49

thank you so much for this, really appreciate the details and intuition!

Ответить
Artyom Manokhin
Artyom Manokhin - 30.03.2023 17:55

Cool. Thank you. you really helped me

Ответить
Achraf Garai
Achraf Garai - 13.01.2023 22:43

Amazing tutorial, thanks

Ответить
Illusion
Illusion - 11.01.2023 13:52

Great Content. Thanks.
I have a problem though;
I get this error: "TypeError: Cannot read properties of undefined (reading 'init')"
the error refers to this line: swiper.navigation.init()

Ответить
Gifhary
Gifhary - 23.12.2022 14:26

lol, you're fun! great tutor, man. keep it up 🍻

Ответить
Nana Abeeku Thompson
Nana Abeeku Thompson - 16.12.2022 04:07

The arrows still doesn’t work for me when I added the onInit

Ответить
David WENG
David WENG - 28.11.2022 06:16

All developers derserve to have sass

Ответить
Doza de Trezire
Doza de Trezire - 21.11.2022 14:15

This is amazing! But what if I want to use React icons instead of images? How can we achieve this?

Ответить
Emmanuel Essien
Emmanuel Essien - 21.11.2022 14:06

Thanks for this illustration man, it has helped in the project i'm building

Ответить
Erfan Heydar
Erfan Heydar - 20.11.2022 21:27

Thanks, You saved me

Ответить
Allan Solitei
Allan Solitei - 04.10.2022 11:53

why does home.module.scss not working

Ответить
Hasan Said
Hasan Said - 29.09.2022 04:29

Thank for explaining how to customize the arrows. I was going crazy trying to figure that out smh. I was very close to making it work then I threw away my code hahaha. Imma try it again today

Ответить
Mukut
Mukut - 28.09.2022 13:41

Why don’t you use image component from next?

Ответить
Abdulla S ahamd
Abdulla S ahamd - 22.09.2022 22:32

Thanks

Ответить
Zero Brainy
Zero Brainy - 06.09.2022 14:19

This was a v good explanation. Answered some of my questions.

Ответить
Tim H.
Tim H. - 04.09.2022 07:58

How is this working without importing React from 'react'; ?
Also, is there any reason the navigation arrows aren't showing up at all and the slides aren't transitioning automatically?

Ответить
Tunde Oke
Tunde Oke - 31.08.2022 21:27

WoW 😘😘😘 thanks a bunch. Great video.

Ответить
Eshgod
Eshgod - 30.08.2022 00:16

Does this work for videos to?

Ответить
Mindaugas Jukna
Mindaugas Jukna - 23.08.2022 16:58

Thanks for the tutorial, you have a github for this?

Ответить
Bananen
Bananen - 20.08.2022 01:59

For those of you looking at this and wondering why not the css imports are working. For swiper ^8.3.2, the imports in a Create-React-App project work this way ->

import 'swiper/swiper-bundle.css'
import 'swiper/modules/navigation/navigation.min.css'
import 'swiper/modules/pagination/pagination.min.css'
import 'swiper/modules/scrollbar/scrollbar.min.css'

Ответить
Omar Elmasry
Omar Elmasry - 14.08.2022 13:00

great video 👍

Ответить
Abdullah Elganady
Abdullah Elganady - 01.08.2022 00:41

that was perfect explain

Ответить
Sandu Catalin
Sandu Catalin - 26.07.2022 16:36

I was struggling with creating a carousel for quite some time and couldn't get it done. You just fixed my problem in under 20 minutes. Great video man and thank you!

Ответить
Suvarnesh K M
Suvarnesh K M - 18.07.2022 21:02

how about the pagination ?

Ответить
GarmrZero13
GarmrZero13 - 19.06.2022 22:24

Major thanks to you! This video saved me from one big headache! I didn't understand Swiper was built all modular-like. Once you explained that I got my slideshow to work. U are a lifesaver!

Ответить
Imuentinyan Nosarumen
Imuentinyan Nosarumen - 14.06.2022 12:20

Wait... this guy has just over a hundred subscribers?
with how excellently you make this tutorials?
This is like the first tutorial I have ever come across where I have coded along as was taught and ended up with the exact same results as in the tutorial without errors.

Ответить
Kolbe Crypto
Kolbe Crypto - 29.05.2022 08:12

Hey bro u deserve much more subscribers and views , keep the great work❤👌

Ответить
Mark Wasfy
Mark Wasfy - 25.05.2022 12:11

bro you are a life savior

Ответить
Óscar Castañeda
Óscar Castañeda - 24.04.2022 21:32

Very good explanation man 👍

Ответить
Anderson Almeyda T
Anderson Almeyda T - 17.04.2022 04:08

when I deploy to a host, the url in the background-image: url(/path/myimg...) doesn't work, nextjs changes the url on deploying and my css sends notfound :(

Ответить
Jerrell Marvel
Jerrell Marvel - 07.04.2022 12:12

Great tutorial, i know your channel will blow up soon !!!

Ответить
Yasin Nabi
Yasin Nabi - 26.03.2022 12:09

Very educational and wonderful channel, thanks for sharing. thanks Subbed and liked. a fellow creator,,

Ответить