Build a Modal Component purely in ReactJS and TailwindCSS

Поділитися
Вставка
  • Опубліковано 26 лип 2024
  • #reactjs #reactjstutorial #modal #tutorial #tailwindcss #webdevelopment
    In this video you'll learn how to make a Modal or Dialog Box Component in ReactJS and Tailwind CSS from scratch (without any additional libraries) under 6 minutes, which will be a reusable and customizable component that you can use in your own projects. We will also cover how to add smooth transitions to the Modal Component easily only using Tailwind CSS.
    A Modal Component is a common UI element used in many web applications to display content in a popup window. By the end of this video, you will have a working Modal Component that you can use in your ReactJS projects. Whether you are a beginner or an experienced ReactJS developer, you will find value in this tutorial.
    Source Code:
    gist.github.com/nimone/c2a86e...
    Socials:
    Instagram: / ycldev
    Twitter: / yourcodelab

КОМЕНТАРІ • 40

  • @shreyashukla4764
    @shreyashukla4764 8 місяців тому +9

    For anyone wondering, this was the most clear and precise video i could find on this topic. Go for it!!

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

      Hey Shreya, thank you for your kind words. I am gald you found the video helpful.

  • @stn369
    @stn369 Рік тому +2

    loves these React plus tailwind tuts, both are my favorite!

  • @quelvinmachadodepaula
    @quelvinmachadodepaula Рік тому

    Very good!! You're teaching me a lot, man!

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

    Amazing content, this is what I was looking for. keep it up man💗

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

      Thank you for your kind words brother 😊

  • @user-ss1wc7mj7f
    @user-ss1wc7mj7f 2 місяці тому

    wow! I am very impressed. I hope you make more video like this!

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

      Thanks for watching! I hope to do a video soon, stay tuned✌️

  • @jeffery614
    @jeffery614 Рік тому

    Very helpful, thank you!

  • @Indra-wc7kx
    @Indra-wc7kx Рік тому

    Good job friends 👏, nice video

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

    This really came in handy 😅

  • @flux-4
    @flux-4 Рік тому

    Buenisimo! muchas gracias

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

    Thank you very much! It was explained very clearly!

  • @chusOP
    @chusOP Рік тому

    Nice video! me ayudo mucho

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

    Thank you

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

    We could use headlessUI for this but this is awesome content! And great to know.

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

      Where's the fun in using pre made components 😆

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

      @@ycldev exactly that's why I searched hahaha because I didn't want to use headless ui

  • @SalmanKhan-fn7nj
    @SalmanKhan-fn7nj Рік тому

    Very nice effort bro, we need complete dashboard and landing page on tailwind but before that we need some basica of the tailwind

    • @ycldev
      @ycldev  Рік тому +1

      I am planning on doing projects with tailwind soon.

    • @SalmanKhan-fn7nj
      @SalmanKhan-fn7nj Рік тому

      Can u please integrate a laravel api using redux toolkit in that .. if u do believe me u ll get high remarks

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

    Great ilustration of how to create a Modal Componnt in React (with TailwindCSS) - Thanks.
    {2024-04-06} - Subscribed!

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

      Thanks for the sub 👍

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

      @@ycldev - Thank you for the tutorial.

  • @harsimothukuri155
    @harsimothukuri155 Рік тому

    Super ..can you make more functionalities on react

    • @ycldev
      @ycldev  Рік тому

      Definitely! I will keep adding more to this series

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

    sorry i dont understand may be i am wrong but are you using tailwind and bootstrap simultaneously? if yes than why?

    • @ycldev
      @ycldev  10 місяців тому +2

      I am only using tailwind. I guess you are wondering about the .btn classes, I already showed the corresponding styles for it earlier in the video.

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

    By any chance you have this code in a repository like Github ? I'm too lazy to follow along to write it ;-)

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

      Check the description now.

  • @mrlectus
    @mrlectus Рік тому

    are portals no longer required?

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

      You can definitely use portals and render the modals at a different target all together. But I like to avoid them as much as I can.

  • @paschalokafor9043
    @paschalokafor9043 27 днів тому

    AI has taken over you beautiful voice.

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

      Still experimenting what works 👨‍🔬

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

    Get rid of that horrible font please............

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

      What's wrong with the font?

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

      @@ycldev it's some weird curly cursive looking thing. Just makes it much harder to read

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

      Oh, btw I have changed the font in the recent videos.

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

      @@ycldev name this font extension how to apply in my vs code