How to make Card Slider in React JS | React Slick

Поделиться
HTML-код
  • Опубликовано: 4 окт 2023
  • Join the Community → www.jsanytime.com/community/
    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/EtishaGarg
    ► 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
  • НаукаНаука

Комментарии • 105

  • @fluntimes
    @fluntimes Месяц назад

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

  • @daghart7561
    @daghart7561 4 месяца назад +1

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

  • @channelgabud8434
    @channelgabud8434 5 месяцев назад +14

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

  • @rahulbaghel1680
    @rahulbaghel1680 7 месяцев назад +1

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

  • @ourdestruction6851
    @ourdestruction6851 2 месяца назад

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

  • @215ariley
    @215ariley 29 дней назад

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

  • @ryostyles9904
    @ryostyles9904 7 месяцев назад +18

    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
    }
    }
    ]
    };

  • @innocentprosper4286
    @innocentprosper4286 5 месяцев назад

    I loveeeee thiss!❤ thanks making it clear

  • @BenHurCarvalhoCarneiro
    @BenHurCarvalhoCarneiro 2 месяца назад +4

    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

  • @mtg_07
    @mtg_07 4 месяца назад +2

    Clean and Clear Explain loved id ;)

  • @philiponyeachonam6724
    @philiponyeachonam6724 7 месяцев назад +1

    Thanks a lot, was struggling with the margin issue

  • @dhokiarinidh9809
    @dhokiarinidh9809 5 месяцев назад

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

  • @lianosh_hamalka
    @lianosh_hamalka 2 месяца назад

    thank you for this video queen!

  • @amirhosseinqafari9747
    @amirhosseinqafari9747 3 месяца назад

    Amazing you are the BEST!

  • @ahmedshaban9295
    @ahmedshaban9295 3 месяца назад

    great video thank you for clear explanation

  • @computech2408
    @computech2408 8 месяцев назад

    Colour combination is soo cool... 😍

  • @eves.2825
    @eves.2825 4 месяца назад

    Thanks for the help!

  • @progaming3662
    @progaming3662 4 месяца назад

    You just get a new subscriber thank you so much

  • @user-gx2qo5jb1d
    @user-gx2qo5jb1d 7 дней назад

    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.

  • @carlosalvarez3268
    @carlosalvarez3268 2 месяца назад

    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?

  • @amineadoul
    @amineadoul 2 месяца назад

    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

  • @Labastidaa
    @Labastidaa 7 месяцев назад

    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.

  • @nikolozmacharashvili1212
    @nikolozmacharashvili1212 5 месяцев назад

    great job Etisha!

  • @nitin_1406
    @nitin_1406 3 месяца назад

    Great explanation 🎉

  • @zaddy_zayn5152
    @zaddy_zayn5152 5 месяцев назад

    Dhidhi you are a life saver

  • @kiranrawat5002
    @kiranrawat5002 7 месяцев назад

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

  • @AbdulafeezAbdulazeez
    @AbdulafeezAbdulazeez 5 месяцев назад

    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

  • @husnamert477
    @husnamert477 6 месяцев назад +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

  • @excel_xoxo833
    @excel_xoxo833 4 месяца назад

    Thank you so much.

  • @user-bx9qe3hh5c
    @user-bx9qe3hh5c 8 месяцев назад

    Please make more videos on react js really helpful.

  • @univquestknowledge8505
    @univquestknowledge8505 7 месяцев назад

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

  • @virajshekhar2356
    @virajshekhar2356 5 месяцев назад

    Thank you so much sister

  • @razarajpoot9811
    @razarajpoot9811 25 дней назад

    thank you very much

  • @phlox22
    @phlox22 3 месяца назад

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

  • @historyofislam2355
    @historyofislam2355 2 месяца назад

    Thank You so much

  • @wizard9910
    @wizard9910 8 месяцев назад +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 6 месяцев назад

      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

  • @DanielOscarKantong
    @DanielOscarKantong 7 дней назад

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

  • @sudarshanpatekar5632
    @sudarshanpatekar5632 22 дня назад

    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

  • @techmasala821
    @techmasala821 8 месяцев назад

    helpful video .

  • @Umeed_
    @Umeed_ Месяц назад +2

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

  • @SahilAppsTricksTips
    @SahilAppsTricksTips 6 месяцев назад

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

  • @marvellousadesanya8480
    @marvellousadesanya8480 4 месяца назад

    Can we remove the arrows?

  • @biswajit52173
    @biswajit52173 3 месяца назад

    the side arrow is not showing, can anybody help me

  • @tiarasafamarwah4688
    @tiarasafamarwah4688 3 месяца назад

    thanks for the tutor

  • @anggagumilang212
    @anggagumilang212 3 месяца назад

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

  • @DEBUGENTITY
    @DEBUGENTITY 4 месяца назад

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

    • @sanasajid2681
      @sanasajid2681 2 месяца назад

      Do you want solution of it

    • @DEBUGENTITY
      @DEBUGENTITY 2 месяца назад

      @@sanasajid2681 no its solved now..

  • @AjayKumar-gu2gr
    @AjayKumar-gu2gr 4 месяца назад

    Thanks so much mam

  • @DavidMwai-dj8up
    @DavidMwai-dj8up 5 месяцев назад

    Amazing

  • @jesusre8495
    @jesusre8495 2 месяца назад

    Excelente!

  • @AmitKumar-wp9ik
    @AmitKumar-wp9ik 8 месяцев назад

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

  • @mensagensdevidaeesperanca9965
    @mensagensdevidaeesperanca9965 7 месяцев назад

    is it an infinity scroll?

  • @sahilbasnet1360
    @sahilbasnet1360 7 месяцев назад +1

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

    • @EtishaGarg
      @EtishaGarg  7 месяцев назад +1

      Simply specify slidesToShow: 1

  • @capnajish9745
    @capnajish9745 Месяц назад

    how to add those images?

  • @carlosloqueando904
    @carlosloqueando904 14 дней назад

    gracias

  • @shinpaingmin603
    @shinpaingmin603 5 месяцев назад

    not showing next, prev arrows

  • @mdwaliullah9609
    @mdwaliullah9609 4 месяца назад +3

    why i don't show arrow icon both side

  • @nandkishorechhimpa2939
    @nandkishorechhimpa2939 4 месяца назад

    is it responsive or not ??

  • @carlosalvarez3268
    @carlosalvarez3268 2 месяца назад

    Where is the code or the repository?

  • @BudetSvobodnoy
    @BudetSvobodnoy 5 месяцев назад +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`
    );
    }
    };

  • @mdwaliullah9609
    @mdwaliullah9609 4 месяца назад

    thanks

  • @avinashroy7896
    @avinashroy7896 4 месяца назад

    mine is not working...

  • @saichanderkasthuri600
    @saichanderkasthuri600 3 месяца назад

    responsive is not working for different devices

  • @19vaibhavtiwari55
    @19vaibhavtiwari55 8 месяцев назад

    how to make a carousel from scratch???

  • @P7P07
    @P7P07 8 месяцев назад

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

  • @user-ud8bv6zc9l
    @user-ud8bv6zc9l 2 месяца назад

    ❤❤❤

  • @DProgram-xb9pp
    @DProgram-xb9pp 4 месяца назад

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

    • @DProgram-xb9pp
      @DProgram-xb9pp 4 месяца назад

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

  • @hiteshprajapati943
    @hiteshprajapati943 8 месяцев назад

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

  • @wizard9910
    @wizard9910 8 месяцев назад

    Why is the pagination dot not showing up?

    • @EtishaGarg
      @EtishaGarg  8 месяцев назад

      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;
      }

  • @virat-od4gv
    @virat-od4gv 2 месяца назад

    Both side arrow is not coming in my code

  • @abhisekasylum8999
    @abhisekasylum8999 5 месяцев назад

    it is not working

  • @FaizanKhan-gfaizank
    @FaizanKhan-gfaizank 8 месяцев назад

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

  • @virajshekhar2356
    @virajshekhar2356 5 месяцев назад

    awsm bahen

  • @bhanuprakash1863
    @bhanuprakash1863 7 месяцев назад

    How do I change arrows color...?

    • @sachinwebMERN
      @sachinwebMERN 7 месяцев назад

      Just change backgrounds color in style of next or prev arrow component.

  • @kiranrawat5002
    @kiranrawat5002 7 месяцев назад

    didi can you provide source code ??

    • @EtishaGarg
      @EtishaGarg  7 месяцев назад +1

      Here it is : github.com/EtishaGarg/reviews-carousel

    • @kiranrawat5002
      @kiranrawat5002 7 месяцев назад

      thank you so much ☺@@EtishaGarg

  • @avinashroy7896
    @avinashroy7896 4 месяца назад

    plz help

  • @sandhyalondhe5305
    @sandhyalondhe5305 2 месяца назад

    Hiii..

  • @playersdreams6496
    @playersdreams6496 4 месяца назад

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

  • @abhishekupadhyay1316
    @abhishekupadhyay1316 4 месяца назад

    u r cute coder ....just rename ur channel

  • @tahaahmadi7446
    @tahaahmadi7446 6 месяцев назад

    hindi accent...; i couldn't watch more than 2 minutes

    • @op_arceusfreefire989
      @op_arceusfreefire989 6 месяцев назад

      The you have psychological problem🙄🙄 consult your psychologist

    • @sanketsingh5555
      @sanketsingh5555 4 месяца назад +1

      Nobody cares

    • @user-pm6ki5tm5u
      @user-pm6ki5tm5u 4 месяца назад

      😂😂😂wahi ...​@@sanketsingh5555

    • @sanowo
      @sanowo 4 месяца назад

      But you have time to comment ? Ok good allright hunhun we got it

    • @stelena-forever
      @stelena-forever 2 месяца назад

      Cry more😂😂 nobody cares about your shit.