How to make Card Slider in React JS | React Slick

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • Join the Community → www.jsanytime....
    Learn how to create a stunning Image Slider or Carousel in ReactJS effortlessly with the help of React Slick! In this step-by-step tutorial, I'll guide you through the entire process, making it super easy for beginners and experienced developers alike.
    By the end of this tutorial, you'll have a beautiful image slider that you can easily integrate into your web projects to showcase images, products, or content in a visually appealing way.
    How to Setup Tailwind CSS in React JS?
    Watch: • How to Setup Tailwind ...
    #carousel #imageslider #reactjs #webdevelopment
    =========================================
    ► Follow on Github to get latest source code of projects: github.com/Eti...
    ► For more content like this, subscribe to my channel: / etishagarg
    ► Support me to make more such videos
    Patreon: / etishagarg
    ► Follow Me On Social Media
    LinkedIn: / etisha-garg
    Twitter: / gargetisha
    Instagram: / gargetisha
    ► For business inquiries, reach us on: gargetisha@gmail.com

КОМЕНТАРІ • 139

  • @user-kt7fm6ow4p
    @user-kt7fm6ow4p Місяць тому +1

    Thank you so much! I didn't import css styles and didn't understand why it's not working. I've wasted so much time. And finally I decided to watch videos on UA-cam and find yours. It was obvious! I'm grateful to you

  • @ryostyles9904
    @ryostyles9904 10 місяців тому +31

    Thanks.
    To make it responsive use: const settings = {
    accessibility:true,
    dots: true,
    infinite: true,
    speed: 500,
    slidesToShow: 3,
    slidesToScroll: 1,
    responsive: [
    {
    breakpoint: 1024,
    settings: {
    slidesToShow: 3,
    slidesToScroll: 3,
    infinite: true,
    dots: true
    }
    },
    {
    breakpoint: 600,
    settings: {
    slidesToShow: 2,
    slidesToScroll: 2,
    initialSlide: 2
    }
    },
    {
    breakpoint: 480,
    settings: {
    slidesToShow: 1,
    slidesToScroll: 1
    }
    }
    ]
    };

  • @fluntimes
    @fluntimes 4 місяці тому +2

    This was really helpful. I struggled with a few other libraries/tutorials but this one hit the mark and swiftly too! Great work :)

  • @BenHurCarvalhoCarneiro
    @BenHurCarvalhoCarneiro 5 місяців тому +7

    Hello everyone, I noticed that many are having difficulty editing the arrows.
    I also had this difficulty.
    to edit, put .slick-prev:before, .slick-next:before {} in the CSS and have fun

  • @jikamana
    @jikamana Місяць тому +1

    Thanks you fir this video, saved me from using plain CSS

  • @jnuwalaengineer
    @jnuwalaengineer 3 дні тому

    amazing explanation✨

  • @mtg_07
    @mtg_07 8 місяців тому +3

    Clean and Clear Explain loved id ;)

  • @215ariley
    @215ariley 4 місяці тому

    so helpful, thank you! Also, i love the way you pronounce carousel

  • @daghart7561
    @daghart7561 7 місяців тому +1

    Thank you for sharing your process. Thank you for your clean and clear explanation ☺️

  • @Bigi352
    @Bigi352 3 місяці тому

    Thank you for sharing😭😭😭, God Bless you greatly & increase you,I have been battling with this for like 2 days now until I decided to search YT and found your video where u used react.

  • @channelgabud8434
    @channelgabud8434 8 місяців тому +15

    Hello, can you give me a way to customize the previous button and next button according to what we want?

  • @rahulbaghel1680
    @rahulbaghel1680 11 місяців тому +2

    Dam this is what iam looking for straight and to the point.. 😊

  • @ourdestruction6851
    @ourdestruction6851 5 місяців тому

    i love love love your voice and accent! a pleasure to hear honestly

  • @rahulraparti11
    @rahulraparti11 4 дні тому

    Worked for me!

  • @gerespinosatoscano
    @gerespinosatoscano 26 днів тому

    Thanks!! You helped me a lot after 3 libraries!!

  • @Labastidaa
    @Labastidaa 10 місяців тому

    Nice video, something I did was adding a className (using tailwind in my case) to the Slider, using grid make it easier to work with responsive card slider.

  • @user-mm9gd7kc6r
    @user-mm9gd7kc6r 14 днів тому

    hello,
    yes React Slick is good choice but if you are targeting the website performance that time I think will not help.
    the main problem is this will increase the dom elements so effect on the - TBT.
    if anyone have and other idea then please describe.
    BTW thank you for making this amazing Video ❤
    thank you.

  • @TiannaCBrown
    @TiannaCBrown Місяць тому

    Thanks so much for this! Your video is the only one I've found that doesn't make me download & pay for anything, and this was very quick as well. Is there a way to make the carousel move automatically without the arrows?

  • @MohammedHusainmobikira
    @MohammedHusainmobikira 2 місяці тому

    WOW! really you made it very easy... Thank you so much.

  • @nirajnarkhede7552
    @nirajnarkhede7552 Місяць тому

    Lovely explained !

  • @Sumit-sk1ou
    @Sumit-sk1ou Місяць тому

    Thanks alot i really wanted this video.. and the good explanation..

  • @Goms_1804
    @Goms_1804 2 місяці тому

    Loved the explanation ❤

  • @wizard9910
    @wizard9910 11 місяців тому +3

    How can i customize the navigation arrow, like increasing it's size. Also can you show us how to customize the pagination Bullet

    • @husnamert477
      @husnamert477 9 місяців тому

      yes yes I want to learn this because I m trying over hour but I couldnt find how can increase arrow size...Its very small I write some CSS codes but then its crashes

  • @philiponyeachonam6724
    @philiponyeachonam6724 10 місяців тому +1

    Thanks a lot, was struggling with the margin issue

  • @SiddhiRanpise-g5k
    @SiddhiRanpise-g5k 2 місяці тому

    Thankyou,This helped a lot! Subscribing rightaway!!

  • @felipeandreas3224
    @felipeandreas3224 3 місяці тому +1

    Error: Super expression must either be null or a function What is the reason for this error?

    • @shirishasiri2124
      @shirishasiri2124 2 місяці тому

      yes its happening for me also i don't know wt to do.. would any one can help out??

  • @lianosh_hamalka
    @lianosh_hamalka 5 місяців тому

    thank you for this video queen!

  • @computech2408
    @computech2408 11 місяців тому

    Colour combination is soo cool... 😍

  • @amirhosseinqafari9747
    @amirhosseinqafari9747 6 місяців тому

    Amazing you are the BEST!

  • @zaddy_zayn5152
    @zaddy_zayn5152 8 місяців тому

    Dhidhi you are a life saver

  • @husnamert477
    @husnamert477 9 місяців тому +1

    I really like your video and I wanna add ; I m trying over hour but I couldnt find how can increase arrow size...Its very small I write some CSS codes but then its crashes

  • @rosaaeri4639
    @rosaaeri4639 12 днів тому

    How can we use 1i8n language changing in carousel. Mine work only for 1 language then start showing of the previous language

  • @GeraNuncio
    @GeraNuncio Місяць тому

    Have you had the duplicated bug issue ? I implemented this but it duplicates a card just below one of the existing ones

  • @Innopro_tech
    @Innopro_tech 8 місяців тому

    I loveeeee thiss!❤ thanks making it clear

  • @nehalsalunke30
    @nehalsalunke30 2 місяці тому

    Hello please please reply me as soon as possible
    I followed each and every step in this video and at the end the arrows was not there. Only I am able to scroll through dots.
    Please tell me if there possibly mistake I made during this process..
    And also I have not used tailwind classes to some elements. Instead I used external css. But its all working fine.. just want to know that how to display that arrows..

  • @a_basic_sheep_1993
    @a_basic_sheep_1993 8 місяців тому

    great job Etisha!

  • @BeetieKay
    @BeetieKay 2 місяці тому

    I love this ❤ uploaded more

  • @sahilbasnet1360
    @sahilbasnet1360 11 місяців тому +1

    Great content, butI have a question,
    What if i want to show only one slider component instead of 3....

    • @EtishaGarg
      @EtishaGarg  10 місяців тому +1

      Simply specify slidesToShow: 1

  • @fatimaiqra2169
    @fatimaiqra2169 2 місяці тому

    thanks a lot, u=your video is really time saving

  • @saikiran0311
    @saikiran0311 2 місяці тому

    please could you explain in details about in the public folder in the students details

  • @progaming3662
    @progaming3662 7 місяців тому

    You just get a new subscriber thank you so much

  • @sudarshanpatekar5632
    @sudarshanpatekar5632 3 місяці тому

    Well the slider looks really good, but for me the cards just take up the whole screen width, but even I want it in the center and also I am not able to see the left arrow, its almost like its not there

  • @nitin_1406
    @nitin_1406 6 місяців тому

    Great explanation 🎉

  • @ahmedshaban9295
    @ahmedshaban9295 6 місяців тому

    great video thank you for clear explanation

  • @duonghoang7977
    @duonghoang7977 15 днів тому

    wow how can you style it by the classname ? I'm newbie

  • @eves.2825
    @eves.2825 8 місяців тому

    Thanks for the help!

  • @user-bx9qe3hh5c
    @user-bx9qe3hh5c 11 місяців тому

    Please make more videos on react js really helpful.

  • @KanhaiyaSahu01
    @KanhaiyaSahu01 23 дні тому

    thanks , it was quick

  • @AS-mc2db
    @AS-mc2db 29 днів тому

    mam mere both sides slide waly arrow show nahi ho rhy...i dont know why i have that problem

  • @dhokiarinidh9809
    @dhokiarinidh9809 8 місяців тому

    Thank you so much... You really make work easy

  • @latifdhalait6328
    @latifdhalait6328 Місяць тому

    video on skills show progress bar.. with animation 🙏

  • @KiranBadgujar-di2ki
    @KiranBadgujar-di2ki 2 місяці тому

    For mobile how it was going to look please one video on that please Mam

  • @BudetSvobodnoy
    @BudetSvobodnoy 8 місяців тому +1

    I didn't like this settings because you always have to choose how many items to scroll at a time. I found this setting in their docs for really infinite scroll:
    const settings = {
    className: "center",
    infinite: true,
    centerPadding: "60px",
    slidesToShow: 5,
    swipeToSlide: true,
    afterChange: function(index) {
    console.log(
    `Slider Changed to: ${index + 1}, background: #222; color: #bada55`
    );
    }
    };

  • @carlosalvarez3268
    @carlosalvarez3268 5 місяців тому

    Hello i have a question, i try to change the design of the bottoms or well the ArowIcons but i dont have a good result with this, Did you know how to change the design of the bottoms?

  • @SahilAppsTricksTips
    @SahilAppsTricksTips 9 місяців тому

    Can u please make another video on how to reuse the same carousel component with other images and text please ....

  • @julfikerislam2402
    @julfikerislam2402 28 днів тому

    thank you

  • @amineadoul
    @amineadoul 5 місяців тому

    hi i would like to know why the carosel is not displayed, i think the error comes from my css code but i couldn't fix it

  • @mdwaliullah9609
    @mdwaliullah9609 7 місяців тому +3

    why i don't show arrow icon both side

  • @univquestknowledge8505
    @univquestknowledge8505 10 місяців тому

    I take almost one month to create slider,but this one is very easy

  • @anggagumilang212
    @anggagumilang212 6 місяців тому

    Why doesn't the slider work if the data comes from API?

  • @apurwarokade3863
    @apurwarokade3863 3 місяці тому

    How can we change colour of the arrow bar

  • @DanielOscarKantong
    @DanielOscarKantong 3 місяці тому

    how do i change the button color mrs.etisha??

  • @virajshekhar2356
    @virajshekhar2356 8 місяців тому

    Thank you so much sister

  • @kiranrawat5002
    @kiranrawat5002 10 місяців тому

    didi how to create a previous file i m not able to see in description link there was not explanation of that

  • @carlosloqueando904
    @carlosloqueando904 3 місяці тому

    gracias

  • @excel_xoxo833
    @excel_xoxo833 7 місяців тому

    Thank you so much.

  • @DavidMwai-dj8up
    @DavidMwai-dj8up 8 місяців тому

    Amazing

  • @AbdulafeezAbdulazeez
    @AbdulafeezAbdulazeez 8 місяців тому

    What if i want to use it on mobile view while on the desktop view there shouldn't be a slider how do i do that please

  • @jesusre8495
    @jesusre8495 5 місяців тому

    Excelente!

  • @AmitKumar-wp9ik
    @AmitKumar-wp9ik 11 місяців тому

    hey Di
    please make more videos on React JS like this 😊

  • @blueflaregamerz4375
    @blueflaregamerz4375 Місяць тому

    Dont you think we should know how to create on our own i was here to get idea for that but disappointed pls mention in thumnail if you are using any library maam

  • @historyofislam2355
    @historyofislam2355 5 місяців тому

    Thank You so much

  • @biswajit52173
    @biswajit52173 6 місяців тому

    the side arrow is not showing, can anybody help me

  • @DEBUGENTITY
    @DEBUGENTITY 7 місяців тому

    My flex properties are replaced by display inline-block when i warp in .. But in your case its working how?

    • @sanasajid2681
      @sanasajid2681 6 місяців тому

      Do you want solution of it

    • @DEBUGENTITY
      @DEBUGENTITY 6 місяців тому

      @@sanasajid2681 no its solved now..

  • @razarajpoot9811
    @razarajpoot9811 3 місяці тому

    thank you very much

  • @phlox22
    @phlox22 6 місяців тому

    anyone can tell me how can i change the navigation dots at the bottom color to white?

  • @DProgram-xb9pp
    @DProgram-xb9pp 7 місяців тому

    Thank you so much, I have wasted 36 hour in it ,I hope, the code in this tutorial will work .

    • @DProgram-xb9pp
      @DProgram-xb9pp 7 місяців тому

      Tried, slick , spring, swiper, .....
      None of them gave me proper result

  • @tiarasafamarwah4688
    @tiarasafamarwah4688 6 місяців тому

    thanks for the tutor

  • @shinpaingmin603
    @shinpaingmin603 8 місяців тому

    not showing next, prev arrows

  • @carlosalvarez3268
    @carlosalvarez3268 5 місяців тому

    Where is the code or the repository?

  • @techmasala821
    @techmasala821 11 місяців тому

    helpful video .

  • @AjayKumar-gu2gr
    @AjayKumar-gu2gr 7 місяців тому

    Thanks so much mam

  • @saichanderkasthuri600
    @saichanderkasthuri600 6 місяців тому

    responsive is not working for different devices

  • @capnajish9745
    @capnajish9745 4 місяці тому

    how to add those images?

  • @avinashroy7896
    @avinashroy7896 7 місяців тому

    mine is not working...

  • @P7P07
    @P7P07 11 місяців тому

    hello mam please class link how first time see this class please mam reply and tell me

  • @marvellousadesanya8480
    @marvellousadesanya8480 7 місяців тому

    Can we remove the arrows?

  • @Umeed_
    @Umeed_ 4 місяці тому +11

    no link to the source no direct link to the git .. just waste of time

    • @oluwajobaakinpelu316
      @oluwajobaakinpelu316 2 місяці тому +5

      Not that deep. Write yours!

    • @tdekoekkoek
      @tdekoekkoek 18 днів тому +1

      yeah she showed you everything you need to know but you are too lazy to do anything yourself

    • @Umeed_
      @Umeed_ 18 днів тому +1

      ​@@tdekoekkoek Haha nice ..

    • @tariqahmed2526
      @tariqahmed2526 17 днів тому +1

      Why u need source code this simple thing that will be just copy & paste do it ur self

  • @hiteshprajapati943
    @hiteshprajapati943 11 місяців тому

    Mam ek video API K Par bhi bnaayge ? ...

  • @mensagensdevidaeesperanca9965
    @mensagensdevidaeesperanca9965 10 місяців тому

    is it an infinity scroll?

  • @nandkishorechhimpa2939
    @nandkishorechhimpa2939 7 місяців тому

    is it responsive or not ??

  • @mdwaliullah9609
    @mdwaliullah9609 7 місяців тому

    thanks

  • @virat-od4gv
    @virat-od4gv 6 місяців тому

    Both side arrow is not coming in my code

  • @19vaibhavtiwari55
    @19vaibhavtiwari55 11 місяців тому

    how to make a carousel from scratch???

  • @wizard9910
    @wizard9910 11 місяців тому

    Why is the pagination dot not showing up?

    • @EtishaGarg
      @EtishaGarg  11 місяців тому

      It's there but since the background color is almost the same color as dots, you are not able to see it. Try changing the background color like white and see the dots. Also, in case you want to change the dot colors use this code snippet in your css:-
      .slick-dots li.slick-active button:before {
      color:orange !important;
      }

  • @virajshekhar2356
    @virajshekhar2356 8 місяців тому

    awsm bahen

  • @abhisekasylum8999
    @abhisekasylum8999 8 місяців тому

    it is not working

  • @FaizanKhan-gfaizank
    @FaizanKhan-gfaizank 11 місяців тому

    Your content is nice, you should also show the mobile responsive version.

  • @KarvDigital
    @KarvDigital 5 місяців тому

    ❤❤❤

  • @playersdreams6496
    @playersdreams6496 7 місяців тому

    sory but half o this video is bool..... why you do not make content more specific and target from his name???