Sidebar Navigation Menu Tutorial ReactJS - Beginner Navigation Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 261

  • @anujpartihar
    @anujpartihar 3 ปีที่แล้ว +9

    Thanks Pedro! This was extremely helpful since you also took time to explain the why behind every snippet, rather than stopping at the how, which is hard to find in a tutorial. Good Luck!

  • @saidmaroc8448
    @saidmaroc8448 3 ปีที่แล้ว

    I just saw this old post and simply you have progressed a lot
    It's by practicing that you become a blacksmith
    continue Pedro

  • @ollyevee
    @ollyevee 2 ปีที่แล้ว

    Oh yes, this one right here, is the tutorial you'll need to make a react sidebar dashboard type of menu. Thank you so much Pedro!

  • @joshuamakula5736
    @joshuamakula5736 2 ปีที่แล้ว +2

    thank you so much Pedro. You are really a very good teacher as you took time to explain the reason behind every step you make

  • @simthandathathokuhle9209
    @simthandathathokuhle9209 6 หลายเดือนก่อน

    Thank you so much I was struggling for 2 days on these but now I'm fine with this video you did well

  • @A__HabbanMasykurAbdullah
    @A__HabbanMasykurAbdullah 2 ปีที่แล้ว +1

    bro idk how to say thanks for everything , i have some homework to create web you make me can feel better thanks

  • @molokochris
    @molokochris ปีที่แล้ว

    found this video right when i needed it.. Thanks Pedro!

  • @TimothyVandeweerd
    @TimothyVandeweerd 2 ปีที่แล้ว

    Thank you, this was just what I was looking for. I appreciate your work!

  • @Jgv1919
    @Jgv1919 2 ปีที่แล้ว +3

    Pedro, What is missing and it would be perfect will be if the instruction to display a page with data on it. That is really what is expected. I created pages for the menu but can't make it happen to get to the page.

  • @Dlntck
    @Dlntck 3 ปีที่แล้ว

    Pedro, you are the best ! This is exactly what I needed, thank you so much

  • @MaseMark-s3y
    @MaseMark-s3y 23 วันที่ผ่านมา

    My first ever react project. Concept over-simplified. Thanks! Would love how to connect it to the backend.

  • @joanne8012
    @joanne8012 2 ปีที่แล้ว

    Thank you Pedro! This was so helpful!

  • @khadkasubarnabijaya
    @khadkasubarnabijaya 3 ปีที่แล้ว +1

    Explained so well! Thanks PedroTech!

  • @Jgv1919
    @Jgv1919 2 ปีที่แล้ว

    Okay! Great video. I got it. One thing I need to know is how to populate the information of those links eg. home,mailbox, etc and display the data or information on the page once click

  • @MoodyOmar
    @MoodyOmar 3 ปีที่แล้ว +2

    nice video mate , I liked it, I hoped that you would make the sidebar shrink to the point where is only icons and can grow back with icons and titles . or changing a components in the right area instead. subscribed too.

  • @shangshi7467
    @shangshi7467 3 ปีที่แล้ว +1

    Thank you very much for this tutorial! saved my life!

  • @vedantsingh6966
    @vedantsingh6966 4 ปีที่แล้ว +3

    dude!! that was dopeeeee... really appreciate the work. can you plz extend this vid with hamburger icon ??

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Thank you! I have a video on how to make a responsive navbar which shows how to make a hamburguer menu!

    • @vedantsingh6966
      @vedantsingh6966 4 ปีที่แล้ว

      @@PedroTechnologies couldn't find it!... Drop the link here, that'd be of great help 😊

  • @msabtainanwar1435
    @msabtainanwar1435 3 ปีที่แล้ว +1

    Thats video really Awsome for me because "window.location.pathname" is answer of my problem .. Thank you so much

  • @ndubuisinwabueze9376
    @ndubuisinwabueze9376 2 ปีที่แล้ว

    Thanks pedro. This video was very informative, it would be nice if you can create another video that displays text in each of the links you click and possibly link it to a JSON file server to show data stored, so people can see how to navigate this intuitive web app

  • @aimananderil
    @aimananderil 3 ปีที่แล้ว

    This is insanely genius.

  • @bellyndayikeza4799
    @bellyndayikeza4799 ปีที่แล้ว

    thanks man it was really helpful

  • @eliyir
    @eliyir 3 ปีที่แล้ว

    Thank you so much Pedro!

  • @maximocipriani
    @maximocipriani 2 ปีที่แล้ว

    Muchas gracias era lo que estaba buscando, muy completo pero simple

  • @vickykimathi9476
    @vickykimathi9476 2 ปีที่แล้ว

    Thanks! Good video and nice explanation

  • @marthecoubard8983
    @marthecoubard8983 3 ปีที่แล้ว +1

    thank you for this tutorial I learnt a lot.

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      Glad it was helpful!

    • @Jgv1919
      @Jgv1919 2 ปีที่แล้ว

      @@PedroTechnologies Pedro, there are many requests here but I have not seen any replies from you to answer. For example, displaying the home page element with data, and others. otherwise this is a great beginner into course!

  • @prashinmore2251
    @prashinmore2251 3 ปีที่แล้ว +1

    U r too good thanks a lot never subscribed faster

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +1

      Hahaha thank you so much! Really appreciate the. support!

  • @huseyinbadukgib7318
    @huseyinbadukgib7318 3 ปีที่แล้ว

    Thank you pedro. Awesome

  • @RAHULYADAV-rw4xj
    @RAHULYADAV-rw4xj 3 ปีที่แล้ว +1

    Great Explanation Thank you ! suscribed

  • @aisajemilajem9556
    @aisajemilajem9556 2 ปีที่แล้ว

    Thank you for a very well explained video.

  • @numbersandmoney9606
    @numbersandmoney9606 3 ปีที่แล้ว +1

    great. I like like like the method you teach. easy to understand. it is very helpful to me

  • @thayron7451
    @thayron7451 4 ปีที่แล้ว +1

    muito bom o seu conteúdo. Estudei seu código pois estava querendo deixar o campo do icon selecionado e isso me proporcionou varias ideias bacanas. parabém pelo vídeo e sua organização do código no git.

  • @siddharthamukherjee9081
    @siddharthamukherjee9081 3 ปีที่แล้ว +6

    bro much appreciated what you have done with this video but the I am not getting the source code while clicking the link that you provide. Actually, it opens something different code which is basically for image carousel using react. Can you please provide me the actual link to this particular code. Thanks, Siddharth from Kolkata, India

  • @AshwiniKondalakadu
    @AshwiniKondalakadu 2 ปีที่แล้ว

    This is a really cool video.. appreciate it... Thanks a lot 🙏

  • @aimashaikh3860
    @aimashaikh3860 4 ปีที่แล้ว +2

    loved the video subscribed :)

  • @techsol3233
    @techsol3233 3 ปีที่แล้ว

    Excellent video. Very explanatory and efficient.

  • @Holfter
    @Holfter 3 ปีที่แล้ว +3

    16:48 "tipo" hahaha, video fera btw

  • @matthewhawkins3697
    @matthewhawkins3697 3 ปีที่แล้ว +2

    Thanks so much for the guide! I'm trying to make the last part work (staying highlighted depending on pathname), and was curious if there is a way to do this based on the ID of a focused section in a single page website? I haven't gotten that part figured out yet. Thanks again for the thorough guide!

  • @khoilam7569
    @khoilam7569 3 ปีที่แล้ว +3

    Thanks good job from Việt Nam

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      Glad to see u here! Thank you!

    • @khoilam7569
      @khoilam7569 3 ปีที่แล้ว

      @@PedroTechnologies i want u update more video to react website

  • @gabrielgoncalves4009
    @gabrielgoncalves4009 4 ปีที่แล้ว +3

    Vídeo bão dms mano, quando vi q vc é BR pirei kkkkk. Vc explica muito bem, vou seguir e ir esperando novos vídeos

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +1

      kkkkkkk Vlw! A glr fica surpresa qnd descobre q eu sou br kkkkkk

    • @PabloGeokar
      @PabloGeokar 4 ปีที่แล้ว

      Massa mesmo, ganhou mais um inscrito

  • @monome3038
    @monome3038 3 ปีที่แล้ว +1

    Appreciating the efforts you put in your videos! Thank you. Can you please share the ReactJS related extensions you use for Vsocde

  • @muhammadmohsinhussain5428
    @muhammadmohsinhussain5428 ปีที่แล้ว

    Thanks Dear Pedro ! I learn very much from you. Please start teaching freelancing on upwork and fiver.

  • @wildessousa7656
    @wildessousa7656 2 ปีที่แล้ว

    Thanks Pedro!

  • @henryc.nnamani7842
    @henryc.nnamani7842 ปีที่แล้ว

    Thanks for this ❤️❤️

  • @cheddargt
    @cheddargt 3 ปีที่แล้ว +4

    Hey! Thank you so much for the tutorial :) one quick thing though, how do I remove that little white gap between the menu and the upper part of the window? Thanks!

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +2

      Hey, you can set the body element in css to have a padding of 0 and a marging of 0!

    • @Raj0x01
      @Raj0x01 3 ปีที่แล้ว

      ​@@PedroTechnologies Hi I did margin: 0; and padding: 0; but still have same issue and keep making good video like this really helpful. Thank you

    • @jesusperez4502
      @jesusperez4502 3 ปีที่แล้ว +1

      @@Raj0x01 I think that u can put margin instead padding in link css

    • @Raj0x01
      @Raj0x01 3 ปีที่แล้ว

      @@jesusperez4502 I fixed it I forgot that I was in App class.

    • @ophx1337
      @ophx1337 3 ปีที่แล้ว

      @@Raj0x01 how did you fix it?

  • @vigneshkalithas4276
    @vigneshkalithas4276 2 ปีที่แล้ว

    Thanks pedro ❤

  • @rationalpi6755
    @rationalpi6755 3 ปีที่แล้ว

    Very good video, thank you!

  • @lucasgomesdev
    @lucasgomesdev 2 ปีที่แล้ว

    ty man, this (const isActive = window.location.pathname === href) saved my life

  • @tinackaz3453
    @tinackaz3453 3 ปีที่แล้ว +1

    Awesome! Is there another tutorial on linking the actual page to the navbar?

    • @RadioKanjo
      @RadioKanjo 2 ปีที่แล้ว

      @pedroTech share a link on the linking page

  • @tedmosby1900
    @tedmosby1900 4 ปีที่แล้ว +1

    This is awesome!

  • @zwangamukwevho6669
    @zwangamukwevho6669 2 ปีที่แล้ว

    Wonderful tutorial👍

  • @srisangeeth4131
    @srisangeeth4131 ปีที่แล้ว

    Thanks for the video bro🥰🥰🥰🥰

  • @thiagomenezes6968
    @thiagomenezes6968 3 ปีที่แล้ว

    Awesome and helpful content

  • @dhanushkumar673
    @dhanushkumar673 ปีที่แล้ว

    was very usefull the explanation part

  • @aqsaazfa1687
    @aqsaazfa1687 3 ปีที่แล้ว +1

    You are better than techwithtim

  • @themiya-125
    @themiya-125 4 ปีที่แล้ว +3

    I subscribe you. Every thing was clear and perfect presentation.❤❤ and do more videos like this react UI desgin.Thank you

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +2

      Thanks for the sub! I am planning on some material UI stuff, or maybe some pure css and html stuff too!

    • @themiya-125
      @themiya-125 4 ปีที่แล้ว

      @@PedroTechnologies Yap, That's Good idea 💡and I have kind request.If you can make a video react js + Python login with database,it is very help full for us.

    • @Spookydigy
      @Spookydigy 3 ปีที่แล้ว

      @@PedroTechnologies great video. how can I link these to real pages using router? do I import each new page and add the name/path into the link instead of just putting /home?

  • @toyosisalami6453
    @toyosisalami6453 3 ปีที่แล้ว

    Thank you so much for this really educative and easy-to-understand tutorial!

  • @franklinmako
    @franklinmako ปีที่แล้ว

    Thank you Pedro

  • @ibrahimaliyev9908
    @ibrahimaliyev9908 2 ปีที่แล้ว

    Great job!

  • @devve7
    @devve7 3 ปีที่แล้ว

    Great !! Really helped me. Regards.

  • @KevStuff25
    @KevStuff25 3 ปีที่แล้ว

    Funfact when you make this sidebar but it's there another way to responsive for this sidebar Pedro

  • @cyrilgavrosh4194
    @cyrilgavrosh4194 2 ปีที่แล้ว

    Hi! Thaks for this video. Can you answer on my question?
    How to create navigation these with Routes?

  • @saadurrehman354
    @saadurrehman354 3 ปีที่แล้ว +1

    amazing as before (Y)

  • @glennlaciapag7074
    @glennlaciapag7074 3 ปีที่แล้ว +1

    Great stuff.

  • @SpLiNt3R1998
    @SpLiNt3R1998 ปีที่แล้ว

    thank u so much ❤❤❤❤

  • @leonmusavili8825
    @leonmusavili8825 2 ปีที่แล้ว +1

    Appreciate the tutorial, is there a way to access the source code? current link leads to an image carousel repo

  • @zvrk
    @zvrk 4 ปีที่แล้ว +1

    Hey, awesome video! What is the extension for selecting fonts ? I sam you had bunch of them.

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Hey, I don't use any extension for fonts. Do you mean the fonts I chose in my CSS?

    • @zvrk
      @zvrk 4 ปีที่แล้ว

      @@PedroTechnologies Nvm, this is my inexperience with VS Code and css, i didn't know it offered font-families on intelisence. Usually I get fonts from Google fonts.

  • @geovannyman.117
    @geovannyman.117 ปีที่แล้ว +1

    when I add import { sidebarData } from './sidebarData'; the page turns white and does not show the sidebar design :(

    • @subyouwont
      @subyouwont ปีที่แล้ว

      Check the console

  • @prabhakarmishra2182
    @prabhakarmishra2182 2 ปีที่แล้ว

    Very well explained, please make videos on MUI v5

  • @suriyaas4877
    @suriyaas4877 ปีที่แล้ว

    Thanks was helpful

  • @albertoblackburn
    @albertoblackburn 3 ปีที่แล้ว

    Thanks Pedro, nice job could you make it Dropdown List??

  • @sanketgole4199
    @sanketgole4199 3 ปีที่แล้ว +1

    I want more videos on map rendering topics

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +1

      What do you mean? Like on UI stuff? I plan on making more UI videos!

    • @sanketgole4199
      @sanketgole4199 3 ปีที่แล้ว +1

      @@PedroTechnologies that's right

  • @yeminhtun2543
    @yeminhtun2543 4 ปีที่แล้ว +1

    Great tutorials

  • @boltpubg07
    @boltpubg07 ปีที่แล้ว +2

    Why did not you provide the right link??

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 ปีที่แล้ว +1

    Good one.

  • @devtejaa
    @devtejaa 2 ปีที่แล้ว +1

    how can u set the same id to elements in the list? Aren't ids supposed to be unique

  • @lsinsights2825
    @lsinsights2825 3 ปีที่แล้ว +1

    Nice! Can you also complete the routing for this dashboard?

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      I have some videos on routing if you are interested!

  • @RehanKhan-xf3ml
    @RehanKhan-xf3ml ปีที่แล้ว

    Thank you so much for the efforts, i think the repository URL is invalid please update the reppo-url in the description

  • @cauvery1
    @cauvery1 2 ปีที่แล้ว

    Thank you Pedro. It is much helpful tutorial.
    The git repo points to different example on react. Can someone provide link to the git repo related this video.

  • @ManuelNyC77
    @ManuelNyC77 4 ปีที่แล้ว +1

    bro it is a nice video, but I have some doubt. The #active id which gives the styles when some link is active, just render when the page is reloaded, can you tell how to make it whit react router? I'm stuck on it & I wanna make that without reload the page

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Thank you! If you are using react router dom, then I would create a state called currentRoute, then when moving from route to route you change the value for the state, and now it will automatically rerender without refreshing the page.

    • @jonathanesparas7083
      @jonathanesparas7083 4 ปีที่แล้ว

      @@PedroTechnologies Can you make a video tutorial on it?

  • @vikassinghbisht7491
    @vikassinghbisht7491 3 ปีที่แล้ว

    great job broo...... thnkeww

  • @aneeqrehman4138
    @aneeqrehman4138 4 ปีที่แล้ว +1

    can plz share the vedio of complete tamplate(dynamic) custom design .... will passing the breakpoints.... on sidebar open r close something like that

  • @ohm_chiluka
    @ohm_chiluka 10 หลายเดือนก่อน

    Did you create the project by yarn?

  • @KrishnaKumar-jj6uo
    @KrishnaKumar-jj6uo 2 ปีที่แล้ว

    You are the best.

  • @subramanyanayak5106
    @subramanyanayak5106 3 ปีที่แล้ว +1

    hey dude can you make another video on how to display sub menu items as well, it will be great help , thank you :)

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      I've been thinking about it! Maybe in the future!

  • @brothersofgenration9185
    @brothersofgenration9185 ปีที่แล้ว

    Hey great tutorial but when I am trying to add a form besides the side nav it is going below it rather then being on side can you please help me how to deal with it

  • @codegrind1
    @codegrind1 2 ปีที่แล้ว

    Hello. great tutorial. However, it would have been better if you actually created some elements and displayed them accordingly, since I believe that's what is going to be a task for some people. As it is now, unless you bring the idea of maybe children or outlet to show the routes, I wouldn't say it's that usable in a real project. Good explanation though.

  • @alchelvly3391
    @alchelvly3391 3 ปีที่แล้ว +1

    What VSCode plugin allows for the rfce? I have rsc which I guess does same thing however it doesnt name the component?

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +1

      I think the name is ES7 React snippets

    • @alchelvly3391
      @alchelvly3391 3 ปีที่แล้ว

      @@PedroTechnologies That was it, thanks!

  • @nandopookey9195
    @nandopookey9195 2 ปีที่แล้ว

    Thank you so much sir

  • @mani5189
    @mani5189 4 ปีที่แล้ว +1

    On click of any section in side bar, how to render the corresponding component at the side of sidebar ? Right now it is getting rendered below the sidebar ..

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Hey, so you can do that by styling the sidebar to always be to the left of a div. And inside that div you put the routes!

  • @frankberry184
    @frankberry184 2 ปีที่แล้ว

    I thought you will do a full tutorial on the dashboard but you only did the sidebar

  • @ac.selvan8024
    @ac.selvan8024 2 ปีที่แล้ว

    It is a very useful exaple but why there a white space in top of the sidebar how to avoid it

  • @YasserCherfaoui
    @YasserCherfaoui 4 ปีที่แล้ว +1

    Every was clear and perfect but the thing that is tuck on my mind is how after being redirected to another page we still have sidebar 🤦🏻‍♂️

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +2

      Thank you! If u are using react router dom then you can put the sidebar outtside of the routes. For example, put the sidebar component as siblings to the routes

    • @YasserCherfaoui
      @YasserCherfaoui 4 ปีที่แล้ว +1

      @@PedroTechnologies Oh yeah Exactly my bad smh , thanks for the quick reply

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      @@YasserCherfaoui no problem!

  • @shyamsoni5389
    @shyamsoni5389 4 ปีที่แล้ว +1

    Can you please provide the git link for this, the one which you have kept is for react-image-carousel

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Hey, im sorry about that! I made the dumb mistake of accidentally pushing my code for the carousel to the same repo as the sidebar. I lost that code!

  • @Ilhani-yq4jv
    @Ilhani-yq4jv 10 หลายเดือนก่อน

    Why isn't the sidebar all the way to the top, but a few inches below? Can you tell me how to change that?

  • @Shellflower1234
    @Shellflower1234 4 ปีที่แล้ว

    Great videoooo

  • @padmajverma6784
    @padmajverma6784 ปีที่แล้ว

    helpful as hellll

  • @musawenkosisangweni3689
    @musawenkosisangweni3689 2 ปีที่แล้ว

    Hi,
    Using this tutorial, How do I navigate to the next page so that the content of that page is displayed instead of just linking to it?

  • @saikatpaul6576
    @saikatpaul6576 3 ปีที่แล้ว +1

    How is your side bar fixed in all routes...explain

  • @softblood1941
    @softblood1941 4 ปีที่แล้ว +2

    please make a responsive navbar too :)

  • @ALEXAN03R
    @ALEXAN03R 4 ปีที่แล้ว +1

    sir even if i have margin and padding as 0 in body in css ,the top margin is not removed please help ,its in ur program also,it popps just after add the sidebar menus.

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      That is probably due to the title margins. Whenever you use an h1 tag it has some margin, I don't have the code for this so I can't check it out.

    • @ALEXAN03R
      @ALEXAN03R 4 ปีที่แล้ว

      @@PedroTechnologies thankyou, it's fine i solved it , your video helped me for my project thanks

    • @jeeonpark3116
      @jeeonpark3116 3 ปีที่แล้ว

      @@ALEXAN03R Can I ask how to solve it?

    • @ALEXAN03R
      @ALEXAN03R 3 ปีที่แล้ว

      @@jeeonpark3116 i think i did some modifications in the body section in css.
      if u use ur own body design this error will be removed.

    • @jeeonpark3116
      @jeeonpark3116 3 ปีที่แล้ว +1

      @@ALEXAN03R I solved by adding margin: 0 in .SidebarList
      Thank you for answer!