Build a Modal Component purely in ReactJS and TailwindCSS

  Рет қаралды 21,220

Your Code Lab

Your Code Lab

Күн бұрын

#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 ай бұрын
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 Жыл бұрын
loves these React plus tailwind tuts, both are my favorite!
@ycldev
@ycldev Жыл бұрын
Mine too!
@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 😊
@quelvinmachadodepaula
@quelvinmachadodepaula Жыл бұрын
Very good!! You're teaching me a lot, man!
@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 Жыл бұрын
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 ай бұрын
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
@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.
@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 ай бұрын
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.
@paschalokafor9043
@paschalokafor9043 Ай бұрын
AI has taken over you beautiful voice.
@ycldev
@ycldev 28 күн бұрын
Still experimenting what works 👨‍🔬
@mrlectus
@mrlectus Жыл бұрын
are portals no longer required?
@ycldev
@ycldev Жыл бұрын
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.
@boshty
@boshty 3 ай бұрын
Get rid of that horrible font please............
@ycldev
@ycldev 3 ай бұрын
What's wrong with the font?
@boshty
@boshty 3 ай бұрын
@@ycldev it's some weird curly cursive looking thing. Just makes it much harder to read
@ycldev
@ycldev 3 ай бұрын
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
Learn React Hooks: useEffect - Simply Explained!
14:07
Cosden Solutions
Рет қаралды 128 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 106 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 9 МЛН
Modal in ReactJS - Code a React Modal Tutorial using Hooks
18:26
Modal in Next.js & React | Create a Dialog Component
22:57
Dave Gray
Рет қаралды 31 М.
[Part 1] Buat Admin Panel Menggunakan ReactJS dan Tailwind CSS
17:37
Best Way to Add Popup Modals in React
26:19
Colby Fayock
Рет қаралды 5 М.
React Popup Modal With Tailwind CSS
15:44
Full Stack Niraj
Рет қаралды 34 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 931 М.
The New dialog HTML Element Changes Modals Forever
12:09
Web Dev Simplified
Рет қаралды 581 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН