Build a React Image Slider with Tailwind CSS

  Рет қаралды 105,344

Code Commerce

Code Commerce

Жыл бұрын

Build an Image Slider component in React JS styled with Tailwind CSS.
ZeroTo Mastery:
Master React JS Course - bit.ly/Learn-React-JS
Complete Web Developer in 2023 - bit.ly/Complete-Web-Developer
💻 Solve EDABIT coding challenges - BEGINNER! 💻
bit.ly/Code-Challenges
🔥 Connect with me on IG 🔥
/ fireclint
☕ Support the channel ☕
www.buymeacoffee.com/clintbriley
🔥 My Coding Equipment 🔥
Logitech MX Wireless Keyboard - amzn.to/3xKPFiN
Logitech MX Master 2S Wireless Mouse - amzn.to/3O5WmRD
SAMSUNG 49-Inch Gaming Monitor - amzn.to/3mvUy8M
Shure MV7 USB Podcast Microphone - amzn.to/3O00nqG
Mic Boom Arm - amzn.to/3NHn6YU
Monitor Desk Light Bar - amzn.to/3xzKlyj
Github:
github.com/fireclint/react-ta...

Пікірлер: 134
@manjeshkumarsharma4946
@manjeshkumarsharma4946 Жыл бұрын
Your Videos are amazing buddy. I just watched this video till 7 minutes after that I started making my own slider component. And after 1 hour of brainstorming I made it. Your git repository also helped a lot. THANKYOU SO MUCH
@GiantSquid13
@GiantSquid13 5 ай бұрын
I love how you went straight to the point. Thank you so much
@unamgege
@unamgege Жыл бұрын
Finally I was able to create an easily customizable react slider to showcase my beginner projects, thanks a lot !
@vitorac412
@vitorac412 Жыл бұрын
If you are using next image component, just do this: const slides = [image, image, image] Im currently learning, so I think this can save some time for another people;
@Darkah
@Darkah 9 ай бұрын
Im using Nextjs and i got the userState error, how to solve not using jsx and how to solve for non server renderation
@ad3098
@ad3098 6 ай бұрын
"use client"@@Darkah
@samuelreedy1389
@samuelreedy1389 10 ай бұрын
tried a bunch of different carousel packages for react/typescript, this tutorial smashes them all out of the park, with no dependencies either, nice
@carloschinyuku
@carloschinyuku Жыл бұрын
Powerful and amazing stuff, love it. Thanks, for the energy you put into these tutorials, very easy to follow and understand. Keep it up bro.
@iLuliBest
@iLuliBest Жыл бұрын
Thank you so much! Finally a clean and easy to read slider. 🙌🏼
@CptSauce
@CptSauce 16 күн бұрын
Used SASS and dropped images in the folder instead of links. Added some more hover effects and my God, amazing. Great tutorial!
@BreadForBrain100
@BreadForBrain100 Ай бұрын
aged like a wine. Appreciate what you have done chief!
@BhargavTalpada-go3pl
@BhargavTalpada-go3pl 6 ай бұрын
thank you so much for making this amazing image slider using react & tailwind css
@onar1261
@onar1261 Жыл бұрын
Thank you man, very helpful and elegant solution
@hiwotina26
@hiwotina26 Жыл бұрын
Love it when videos are short and useful.
@codecommerce
@codecommerce Жыл бұрын
Much appreciated! Skipping the fluff!
@emanuelmanrique9944
@emanuelmanrique9944 Жыл бұрын
It looks amazing, thanks!
@Calathea-Z
@Calathea-Z Жыл бұрын
Really appreciated your video. Very helpful information! Great explanation!
@liuyan8066
@liuyan8066 Жыл бұрын
Glad to learn everything about Tailwind CSS! Thanks!
@codecommerce
@codecommerce Жыл бұрын
Love it thank you!
@mtsurov
@mtsurov Жыл бұрын
This is quickly becoming a book of useful recipes. In 18 minutes I learned what Udemy would stretch into 4 hour course. Well done.
@arhabersham
@arhabersham Жыл бұрын
Well to be fair to Udemy courses, consider that you were able to understand this in only 18 minutes because of all the background knowledge on the topic you already have. If you were a newbie, probably a 4 hours would had been necessary to understand the underlaying principles he is using here
@8koi245
@8koi245 Жыл бұрын
​@@arhabershamNah
@muhammadrizwan4879
@muhammadrizwan4879 11 ай бұрын
@@arhabersham indeed broh
@sumanthprabhu11
@sumanthprabhu11 Жыл бұрын
In Appu Indian Accent ->This was the Easiest Tutorial of a Carousel / Slider I have ever seen. Thanks to you and Tailwind CSS
@codecommerce
@codecommerce Жыл бұрын
Haha thank you!
@youngun550
@youngun550 10 ай бұрын
Very cool, thanks so much for this great video!
@tiagolourinho2638
@tiagolourinho2638 2 ай бұрын
You saved my day! Thx!
@SaikotRoy-wb3go
@SaikotRoy-wb3go Ай бұрын
It was really simple and amazing video
@muhammadmursalin8915
@muhammadmursalin8915 2 ай бұрын
Excellent explained. Great work, go on💐💐
@gatti311
@gatti311 Жыл бұрын
Thank you for this video, this will help a lot. These kinds of videos are really useful. It would be nice if you continue with these kinds of videos, where you just make some cool and modern component/part of the website.
@codecommerce
@codecommerce Жыл бұрын
Will do sir! Thank you
@seun.daniel.omatsola
@seun.daniel.omatsola Жыл бұрын
Thanks a lot. This has helped me a lot
@Dreamer_78
@Dreamer_78 10 ай бұрын
Ты один из лучших! Здоровья тебе родным и близким. Спасибо бро!
@ivanperez5231
@ivanperez5231 9 күн бұрын
Thank you so much. Great addition to my client's website.
@codecommerce
@codecommerce 3 күн бұрын
Great to hear!
@thebigbangcoder
@thebigbangcoder 8 ай бұрын
Thank you so much
@rilynnaisa2942
@rilynnaisa2942 Жыл бұрын
Thank you for the tutorial! Very useful :D
@codecommerce
@codecommerce Жыл бұрын
Thank you!
@jovanagluhovic3139
@jovanagluhovic3139 Жыл бұрын
Thank you very much sir. Great video. :)))
@thisiskartik
@thisiskartik Жыл бұрын
Really HelpFul Thanks A lot
@skreddysasi3404
@skreddysasi3404 8 ай бұрын
Thanks for Sharing 🚀🔥
@Metovski
@Metovski Жыл бұрын
I like to watch short useful videos like that. I can create my own slider :D Thanx
@Deus-lo-Vuilt
@Deus-lo-Vuilt Жыл бұрын
Nice , love tailwind and react
@codecommerce
@codecommerce Жыл бұрын
Hard to go back to writing out css haha
@antumallick1468
@antumallick1468 5 күн бұрын
Great Job Man!❤
@codecommerce
@codecommerce 3 күн бұрын
Thank you so much 😀
@wenceslaoavalos9643
@wenceslaoavalos9643 Жыл бұрын
Really helpful!
@harihardhik3293
@harihardhik3293 16 күн бұрын
very well explained
@Nanashi-rq7lk
@Nanashi-rq7lk Жыл бұрын
Nice Video. This video is helpful for me
@abedalraoufzeidan1461
@abedalraoufzeidan1461 6 ай бұрын
awesome tutorial highly recomended i got here from bard sugesstion
@muhammadhabiburrahman3372
@muhammadhabiburrahman3372 10 ай бұрын
its really cool brother
@rorodriguez5358
@rorodriguez5358 11 күн бұрын
thank you!
@psyferinc.3573
@psyferinc.3573 Жыл бұрын
awesome man thank s
@hookahthetravellingmonk
@hookahthetravellingmonk Жыл бұрын
Very good tutorial. I'm using the current next 13 and this works perfctly.
@codecommerce
@codecommerce Жыл бұрын
Glad it helped
@refadhile
@refadhile Жыл бұрын
men thankyou, you are a hero
@codecommerce
@codecommerce Жыл бұрын
Thank you !
@kirovreporting6767
@kirovreporting6767 Жыл бұрын
I had to login just to give proper props to you. It's incredible how much useful information we had in this video. Excellent didactic, straight to the point, I didn't even had to 2x the video speed - since most of YT like to waste a lot of our time with gimmick. props={toYou}
@codecommerce
@codecommerce Жыл бұрын
Thank you Kirov
@ANAS4TOSTOBOY
@ANAS4TOSTOBOY Жыл бұрын
thanks
@alihamoud6863
@alihamoud6863 Жыл бұрын
it is very useful, thanks sir.
@PeriklesPeriklesoglu
@PeriklesPeriklesoglu 9 ай бұрын
thank you
@user-cat848
@user-cat848 3 ай бұрын
thankyou
@cgrbasantff8748
@cgrbasantff8748 Жыл бұрын
really really amazingvideo ever i see on youtube related carousel
@codecommerce
@codecommerce Жыл бұрын
Thanks!
@ltd5480
@ltd5480 Жыл бұрын
How did the transitions work? I’m using local files and how can I make that transition?
@Mirrasim
@Mirrasim Жыл бұрын
Thank you, you good
@zakariaowen
@zakariaowen Жыл бұрын
Very useful
@hengratanak7633
@hengratanak7633 Жыл бұрын
thank you alot
@nogafouz2174
@nogafouz2174 Жыл бұрын
thanks for this video very useful😀
@codecommerce
@codecommerce Жыл бұрын
Most welcome 😊
@user-ku1rd6zy3b
@user-ku1rd6zy3b 11 ай бұрын
Ohh Bro U never disappoint, whenever I want to see something about react or Next js.. I find everything here😂❤
@codecommerce
@codecommerce 10 ай бұрын
Thanks man!
@iammtander
@iammtander Жыл бұрын
🚀🚀🚀 09:30 You rock, man!!
@codecommerce
@codecommerce Жыл бұрын
Awesome dude!
@heliolucio7691
@heliolucio7691 Жыл бұрын
Thank you!
@codecommerce
@codecommerce Жыл бұрын
Thanks dude!
@juanhedderich
@juanhedderich Жыл бұрын
Hey dude, great video, learned a lot, but I have a question. Why make divs with the cursor-pointer class when you can just make buttons?
@mohamadrezakazemian5220
@mohamadrezakazemian5220 Жыл бұрын
great video.
@migla2000
@migla2000 Жыл бұрын
How should I import my own images and not the images from * ?
@VietTranIT
@VietTranIT Жыл бұрын
Sleek. Thanks for the great tutorial.
@codecommerce
@codecommerce Жыл бұрын
Thanks for watching!
@andreasiano5953
@andreasiano5953 7 ай бұрын
How did you add that smooth sliding when you press on the arrow?? Is it a tailwind class?
@rafaelventura9819
@rafaelventura9819 Жыл бұрын
Excelent 👋
@danielflick3707
@danielflick3707 Жыл бұрын
how can i change the color of the active dot?
@asifzulfiqar2517
@asifzulfiqar2517 Жыл бұрын
How to add a timer in it?
@shazo9000
@shazo9000 2 күн бұрын
great video, but i'm having issue getting the duration transition to work after clicking directional button they don't fade in they just appear? any reason that is something missing in tailwind?
@VictorYazigi
@VictorYazigi 2 ай бұрын
is there a way for me to make the image shrink when i use it on mobile? it always fits 100% of the carousel div but i can't see the whole image
@betterbehappythannot3605
@betterbehappythannot3605 Жыл бұрын
Not connected to the video, but what freelance websites did you use to offer your services?
@gousiyaart2515
@gousiyaart2515 Жыл бұрын
How use backend url Therefore not working in background image current index Please reply
@AKPist
@AKPist 3 ай бұрын
what if I want to use images instead of url? This gave me errors:
@lawrencemichael5571
@lawrencemichael5571 Жыл бұрын
This is really great but I was hoping you'd also include code to allow the dots to show where we are.
@besthealthyyou
@besthealthyyou 11 ай бұрын
Here you go brother
@oppranto
@oppranto Жыл бұрын
Can you please explain the logic inside those two button?
@try-b2k
@try-b2k Жыл бұрын
How can we add autoplay
@hubesh716
@hubesh716 Жыл бұрын
sir plz make Ecommerce project with Tailwind css and Redux toolkit for state management and firebase for backend plz sir its my request..plz sir Ecommerce project like Amazone better ui design many things plz sir
@Metovski
@Metovski Жыл бұрын
Yes bro we want Tailwind & redux tool kit e commerce project.
@iammtander
@iammtander Жыл бұрын
True it is. @Code Commerce : A special request sir!!. React, redux tailwind with firebase as backen
@konradja4310
@konradja4310 Жыл бұрын
+1 guys :D
@ivann6249
@ivann6249 Жыл бұрын
That'd be nice
@yahyamohamoud7290
@yahyamohamoud7290 Жыл бұрын
that would be good but with context API and not Redux
@rudrajoshi1948
@rudrajoshi1948 Жыл бұрын
I have a question if I want to make it slide on it's own then what changes can I do in the code?? I mean auto play along with buttons too
@navinkumarsahu1159
@navinkumarsahu1159 10 ай бұрын
one simple trick would be to use setInterval function
@rudrajoshi1948
@rudrajoshi1948 10 ай бұрын
@@navinkumarsahu1159 Thanks
@navinkumarsahu1159
@navinkumarsahu1159 10 ай бұрын
@@rudrajoshi1948 Just use swiper js and don't forget to import AutoPlay and add it to the modules array
@ltd5480
@ltd5480 Жыл бұрын
Can I use instead to create that transition?
@codecommerce
@codecommerce Жыл бұрын
Sure thing
@omageprosper9673
@omageprosper9673 Жыл бұрын
why didn't you use vite to setup your react project?
@codecommerce
@codecommerce Жыл бұрын
Vite is great too!
@mehrdadmousavi9144
@mehrdadmousavi9144 Жыл бұрын
It was great :)) I have a question, suppose we have 4 SVGs instead of slides state, how can we loop through and show them?
@Smartercow
@Smartercow Жыл бұрын
What do you mean with SVG's instead of slides state? SVG is still an image.
@mehrdadmousavi9144
@mehrdadmousavi9144 Жыл бұрын
@@Smartercow In the video we have some unsplash links that he loop (map) them, I say suppose that we have 5 files (Svg, Jpg, ..) how can we loop and show them?
@Smartercow
@Smartercow Жыл бұрын
@@mehrdadmousavi9144 I suppose you have those 5 files local(your pc). You put them in images folder in the public folder: /public/images - but instead of the unsplash link, you use the file path without /public like this: /images/your_image_1.svg /images/your_image_2.svg /images/your_image_3.svg /images/your_image_4.svg /images/your_image_5.svg
@mehrdadmousavi9144
@mehrdadmousavi9144 Жыл бұрын
@@Smartercow Thank you so much, I'll try it
@jameskeita9657
@jameskeita9657 Жыл бұрын
thank u so much bro for u video & do u have video react with redux?
@codecommerce
@codecommerce Жыл бұрын
Thank you James - I haven't made a video with redux yet. I am looking to do that soon with a project.
@jameskeita9657
@jameskeita9657 11 ай бұрын
​@@codecommerce i will wait and it will be a good experience both for me and for others
@oretasletters
@oretasletters 11 ай бұрын
Bro forgot to give us the animation🙂
@CJTHEGAMER
@CJTHEGAMER Жыл бұрын
There's a way i can make the slides move automatically?
@lindsayaiello501
@lindsayaiello501 8 ай бұрын
I second this. Trying to figure out how to auto slide. Any luck yet?
@peterrizek8774
@peterrizek8774 Жыл бұрын
How can i type in two tags at the same time ? like at 7:29
@codecommerce
@codecommerce Жыл бұрын
Hold down control or alt. One of those… lol
@jeetsikder5912
@jeetsikder5912 Жыл бұрын
Awesome video sir
@talhatahir461
@talhatahir461 Жыл бұрын
Please react video carousel.. there are many videos of image slider.. but a few and old videos of video slider
@codecommerce
@codecommerce Жыл бұрын
Same concept :) will do!
@nahomfikadu
@nahomfikadu Жыл бұрын
It is not clear to see the codes
@suraj4522
@suraj4522 3 ай бұрын
Build a react image slider with your gym trainer
@codecommerce
@codecommerce 3 ай бұрын
Haha thanks dude! 💪
@juanpischetz4053
@juanpischetz4053 Жыл бұрын
I want to make a contribution, can I? make a few additions to make it reusable.
@codecommerce
@codecommerce Жыл бұрын
Absolutely
@netsaosa4973
@netsaosa4973 Жыл бұрын
curosr
@mdwaliullah9609
@mdwaliullah9609 18 күн бұрын
thanks
React JS & Tailwind CSS Responsive Website - Beginner Friendly
1:18:16
Code Commerce
Рет қаралды 261 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 50 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 52 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 9 МЛН
Build any layout with tailwind | crash course
34:28
Hitesh Choudhary
Рет қаралды 52 М.
How to make Card Slider in React JS | React Slick
9:03
Etisha Garg
Рет қаралды 108 М.
Build React Image Slider From Scratch Tutorial
16:17
Monsterlessons Academy
Рет қаралды 136 М.
Make an Image Carousel/Slider with React | Beginners Tutorial
23:33
Code Complete
Рет қаралды 52 М.
Build a Slider with React.js
18:49
The Web School.
Рет қаралды 119 М.
How to create carousel slider in Tailwind css and React js ?
14:39
Build a Responsive React JS Website with Tailwind CSS
1:25:24
Code Commerce
Рет қаралды 28 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 219 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 709 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,9 МЛН
Как слушать музыку с помощью чека?
0:36