React Sidebar with Dropdown Menu Tutorial - Create Sub Navigation

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 183

  • @TheDonMan97
    @TheDonMan97 2 роки тому

    Love you dudeeee! Omg im just starting to create this app for my company and I had no idea to do the drop box and dude! THANK YOU! After days, I finally figured out

  • @viewtifulviewer7282
    @viewtifulviewer7282 3 роки тому

    Managed to get this working using only two components and recursion! Thank you so much for this! Amazing!

    • @RizaGunturPrakoso
      @RizaGunturPrakoso 2 роки тому

      Please share through videos, I'm really struggling here understanding React and the whole web syntax coming from a backend Java developer

  • @robertrodrigues822
    @robertrodrigues822 3 роки тому +7

    Toop!! Muito obrigado pelos conhecimentos, confesso que pensei que fosse muito difícil e que não iria conseguir compreender e entender e também aprender, mas agora que conseguir finalizar, percebo que foi simples é muito fácil de entender, por mas que precisei traduzir a vídeo aula rsrs. Desejo todo sucesso e continue trazendo mais conteúdos bons, breve breve vai ser eu montando um canal também.

  • @makopafruit
    @makopafruit 3 роки тому

    I'm using your sidenav on my project. Thanks mate! what a great Guru

  • @TheCodingOdyssey
    @TheCodingOdyssey 3 роки тому +1

    I love using styled-components as well..they make working with css so easy and dynamic

    • @briandesign
      @briandesign  3 роки тому +2

      Yeah styled components are awesome

  • @olgam4605
    @olgam4605 3 роки тому +1

    This tutorial saved me !!!! Thank you so much ! I just subscribed

  • @jgvlc
    @jgvlc 3 роки тому +1

    Your tutorials are really amazing, they add a lot of value, you deserve many more subscribers!

  • @maeeshameem1578
    @maeeshameem1578 3 роки тому +1

    You are really great! I am doing my react project with the help of your tutorials. Thanks a lot lot. Please continue uploading amazing videos!

    • @briandesign
      @briandesign  3 роки тому

      Thanks, will do!

    • @yusufnusrat
      @yusufnusrat 2 роки тому

      @@briandesign hello one question, can you change the background of the button or just style the button when its opened, and when closed it returns back to what it is?

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

    Thanks for the great video! I did this just today - happened to auto'ly import the latest version of react-router-dom. The Switch made me run around for a while as I wasn't expecting something as key as that might get moved-out/deprecated. Anyone who may face this issue, please use Routes instead of Switch.

  • @kumarpatil2815
    @kumarpatil2815 3 роки тому +1

    Thank you so much brother for this wonderful tutorial, I was looking for the same from long time for dashboard kind of layout

  • @yoursnagaraju
    @yoursnagaraju 3 роки тому

    Thank you... i recently started learning react!! it has given big boost to my learning :) :)

  • @ronsivan93
    @ronsivan93 3 роки тому +4

    I would love to do a code along with a full React+SCSS web app tutorial
    A tutorial about Authorization with Json Web Tokens (JWT) and Refresh tokens would be neat as well :)

  • @manmountain462
    @manmountain462 2 роки тому

    My fav react tutor! ⭐

  • @thelaststanding97
    @thelaststanding97 3 роки тому

    That's exactly what i need right now! Thanks u so much! Keep it uppppp

  • @Mr_Brian
    @Mr_Brian 3 роки тому

    Good job Brian. I love your content. Keep going bro.

  • @patrickkaipainen3301
    @patrickkaipainen3301 3 роки тому

    Really nice! I love that you can easily add menu items by changing the data file.

  • @mathanjeya8213
    @mathanjeya8213 3 роки тому +1

    Great Man ! Please Do a carousel (auto) with styled components !

  • @vince8093
    @vince8093 3 роки тому

    who disliked this video bruh dude like this guy is awsome awsome awsome quality showes.

    • @briandesign
      @briandesign  3 роки тому +1

      they must have been watching this upside down and thought it was the thumbs up button

  • @xuanlocnguyen7563
    @xuanlocnguyen7563 2 роки тому

    Great tutorials, it's very useful for me

  • @viewtifulviewer7282
    @viewtifulviewer7282 3 роки тому

    Very Good, this made a lot of sense

  • @lirimm5562
    @lirimm5562 3 роки тому

    I learned alot from you. Thank you very much ❤️

  • @oscarrenevierarodriguez2327
    @oscarrenevierarodriguez2327 2 роки тому

    Excelent video, thank you very much!

  • @francofrigerio2666
    @francofrigerio2666 3 роки тому

    Fue de mucha ayuda. Saludos desde Argentina !

  • @oluwasegunhaziz
    @oluwasegunhaziz 3 роки тому +6

    Well done. can you create a React Dashboard Tutorial using Reactstrap

    • @briandesign
      @briandesign  3 роки тому +3

      I can add it to my video list

    • @mito2377
      @mito2377 3 роки тому +1

      Definately something I'd like to see!

    • @yeborfight3603
      @yeborfight3603 3 роки тому

      @@briandesign that'll be great, waiting for that

  • @rajan_mishra
    @rajan_mishra 3 роки тому

    Thanks Brian for this awesome video. Any tricks if I want to keep the sidebar always Open and Show the content in the Right pane. What changes it would need in that case? Really appreciate your help.

  • @toptyshka322
    @toptyshka322 3 роки тому

    Many thanks! You helped a lot

  • @timothyvandeweerd946
    @timothyvandeweerd946 2 роки тому

    Thank you sir, it was just what I was looking for. This was an excellent tutorial and is much appreciated. Can I ask how you would have all of the items that have sub items expand initially?

  • @abrahamolatubosun4289
    @abrahamolatubosun4289 2 роки тому

    Great video Brian, it will be nice if after selecting a child component (Link) the sidebar should disapare to the left, it will make the navigation better. Thanks anyway.

  • @Shakhzod_Yuldoshov
    @Shakhzod_Yuldoshov 3 роки тому +1

    can you upload some videos about, how to create websites using react + redux, please. You explain perfectly. Your videos are great.
    I love your Videos. All of them are very useful, thank you for all of them. But I have an Idea.
    if you launch the React course all of your subscribers will be so happy.
    Course content:
    1. JSX - (HTML + jS)
    2. Redux; Flux
    3. State; Props
    4. Hooks
    5. The component LifeCycleC (Mounting; Updating; unMounting);
    6. ComponentDidMpunt
    7. React-Router
    8. Link
    9. Route -> URL
    10. brouserRouter
    11. Switch

    • @briandesign
      @briandesign  3 роки тому

      check out my react website videos, I cover a lot of the things you mentioned

  • @YousufJusani
    @YousufJusani 3 роки тому +1

    Great Job Sir, literally best content 🙌🏼
    Create my first web look by watching your video. 😋
    Needed this type of tutorial for my Admin dashboard, can you make video on that too? dashboard functionalities with react (e.g. sidebar, topbar, login navbar topbar change with name , logout)

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

    I'd create an "active" and "inactive" style and just change with a template string and short circuiting. So whenever you click the button it changes the style, without referring directly to 0% or 100%. It gives more control when you're trying to style it on a CSS. But thats just me, I've learned your way and its nice although I feel like I can get lost on my own code. Maybe its my coding ocd.

  • @eddypenaranda8787
    @eddypenaranda8787 2 роки тому

    Thanks for the video, only one thing, the sidebar is not responsive right?

  • @marthaizquierdo3175
    @marthaizquierdo3175 2 роки тому

    thanks so much for this vid! it helped a ton!! i was wondering though, how can we get a submenus submenu to display? I noticed some other comments were asking a similar question but I didnt see a response.

  • @chris3079
    @chris3079 3 роки тому

    Great tutorial, only suggestion i would like to make: duplicate the hover border-left in the non hover state, with same background color as your background, so u don't get that jittery text on hover, plus i like to add "use-select: none", so you never get that ugly text highlight.

  • @sontuan1736
    @sontuan1736 3 роки тому

    Great job, i love this video, thank you 😍😍

  • @arthurfrabelo9922
    @arthurfrabelo9922 3 роки тому +2

    Obrigado seu lindo! S2

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

    Nice tutorial. Really helped me a lot. Thanks. Is there a way to display sub-menus in deeper levels, I mean, an item having sub-menu which itself is a sub-menu. This can go to may be 3-4 levels. You are showing only two levels - main menu and sub-menu. Appreciate your quick reply.
    Benny

  • @sunflair-wa
    @sunflair-wa 2 роки тому

    I learned so much by watching you! Thank you very much for this. Question: What if you wanted to put an image in for an icon? Even harder question, what if you had a button with a pseudo::before and you wanted to put an icon in that?

  • @algunoacepta
    @algunoacepta 3 роки тому

    Amazing video. Quick question, I wanna put some text on the top bar, where should I do it?

  • @jaweriafatima5039
    @jaweriafatima5039 3 роки тому

    you are amazing bro

  • @rickkk3576
    @rickkk3576 3 роки тому

    Thanks for the tutorial

  • @michaelsylva1686
    @michaelsylva1686 3 роки тому +3

    i seem to have a bug mapping the subNav, u did make use of a "?" before the map function but now all subnavs become active when one is clicked

  • @kevinherrera8231
    @kevinherrera8231 2 роки тому

    Greetings, thank you very much for the content.
    A question:
    I have a top navigation bar and this side navigation bar overlaps, how can I make the side one start just below the top one?

  • @יודיתפרל
    @יודיתפרל 3 роки тому

    thanks a lot!, it was very helpful!!, how can i do that the sidebar will not hide the content of the page when we expand the navbar? thanks

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

    Cool video.
    @25:55 shouldn't you avoid that in favour of setSidebar((currState) => !currState)?

  • @gumiho2521
    @gumiho2521 2 роки тому

    hey brian thankyou for awesome video, i have question, what if we add multi level menu on sidebar? example overview -> reports -> reports a, b, c

  • @rachaelklein694
    @rachaelklein694 3 роки тому +1

    How would you go about adding one more nesting item, into an existing nested item.

  • @ajaypalsidhu3029
    @ajaypalsidhu3029 3 роки тому

    Thanks, bro!

  • @humbertojunior2592
    @humbertojunior2592 3 роки тому

    Mano se vc soubesse quantas pessoas vc ajuda e como seus vídeos ajudam no nosso desenvolvimento. Muito obrigado mano, vc é demais. Queria até fazer um pedido, um vídeo criando um site com Next.Js

  • @1000nuha
    @1000nuha 3 роки тому

    Thank you so much for this great tutorial it's amazing and helpful.
    I have question please, how can I add nasted navbar menu? I just try to add it but it gets tricky when I want to add the mapping.
    If you can help me with this please.

  • @mirkoprazzoli8784
    @mirkoprazzoli8784 3 роки тому

    hey bro, amazing tutorial, but how can I make disappear the sidebar when I click on tab of sidebar?? Thx

  • @cristhianjhlcom
    @cristhianjhlcom 3 роки тому

    Hello nice tutorial! keep it up 😎 i think i have a bug im trying to open the dropdown from Reports menu when im in another url (example, the Team's url that not have dropdown) but this make a redirect to Reports url and doesnt open the dropdown, i have to been in this reports url if i want to open the dropdown, any suggestion? thanks

  • @sk8erboi84
    @sk8erboi84 2 роки тому

    Thank you for that great video but I would like to have a collapsable dropdown. Would you mind showing me how to do it please

  • @salimp9770
    @salimp9770 3 роки тому

    the video was great thanks a lot but one thing that i wanna say please little more explain when you are typing your code for some person like me who is beginner . :)

  • @ryansharpe903
    @ryansharpe903 3 роки тому

    Awesome work and really easy to follow along with and learn!
    I'm wondering if you can make the components behind the Sidebar to be able to shrink and grow in width to avoid content being lost behind when opened?

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

    Thank You So much

  • @vaibhavagrawal431
    @vaibhavagrawal431 3 роки тому

    Amazing vide0
    Thanks ♥

  • @DeepakSharma-vl5xr
    @DeepakSharma-vl5xr 3 роки тому +1

    Great video! Btw I tried this and added more elements to it(more than what can be displayed on screen at a time) but now I want a scroll functionality for this sidebar only, how I can do that?

    • @AshutoshandAnurag
      @AshutoshandAnurag 3 роки тому

      add this in css and it will work
      { overflow : auto;
      }

  • @froyorex4856
    @froyorex4856 3 роки тому +1

    Goood video dude.....but normalize stating the dependencies required so we wouldn't have to go back and forth stopping and restarting the server.

  • @swiftydecember
    @swiftydecember 3 роки тому

    Hi, Brian! Can you please have a video on uploading image files & storing textual data on firebase with Reactjs? It’ll be really helpful. Thanks! :)

  • @vincentlee9709
    @vincentlee9709 3 роки тому

    Great tutorial! I have a question which is about how to add a URL(external link) in the object list (the SidebarData.js) and access it in the Submenu component?

    • @vincentlee9709
      @vincentlee9709 3 роки тому

      Oops. Never mind. It just simply need to change the DropdownLink from (= styled(Link) ``;) to (= styled.a ``;) and add href={item.path} in the component like

  • @tuufe
    @tuufe 3 роки тому

    Very nice

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

    Hello, I need your help. I have a dropdown inside a dropdrown but Im having a challenge when I click one link of the second dropdown all the links of the second dropdown display there content instead of only one. And also when I try to display the items in flex they just display in a straight line.

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

    Thank you

  • @gangwalrachit
    @gangwalrachit 3 роки тому

    Hey Brian!
    Thanks for this video! Extremely helpful. I wanted to ask how to keep showing the selected subnav option even after refreshing the page?
    Say I clicked on reports1 and now I refresh the page. How do I keep the SideMenu and Submenu open with 'Report1' selected?

    • @AtifKhan-cm8qv
      @AtifKhan-cm8qv 3 роки тому

      @Robson Silveira can you pls tell me how u did it, with code if possible many thanks!

  • @johnspinelli9251
    @johnspinelli9251 2 роки тому

    This was a great tutorial. Enjoyed and really easy to follow. I want the sidebar to be at the same z index as the regular page. so when expanded, it shrinks the main content instead of covering it. Any suggestions?

    • @chriswilliamson2851
      @chriswilliamson2851 2 роки тому

      you would need to set the value of the of the width of the div using react so that it changes the on the fly

  • @nachoacaso5673
    @nachoacaso5673 3 роки тому

    Traducir por voz
    128 / 5000
    Resultados de traducción
    To start I love your videos, I would like if you can make one with React Sidebar Navbar Footer and of course responsive. 🙏

  • @israelsantana9794
    @israelsantana9794 3 роки тому

    Thanks!

  • @pezhmanaslani9346
    @pezhmanaslani9346 2 роки тому

    nice job .How Can i make responsive this sidebar?

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

    Awesome video +++++++++++++++++ 🙂

  • @amateurdroner4712
    @amateurdroner4712 3 роки тому

    How can we keep submenu open when every-time we load app?
    Thank you so much for the tutorial.

  • @MoDDingMS
    @MoDDingMS 3 роки тому

    Could you make a portfolio website please :) btw nice video!

  • @akashagrawal5067
    @akashagrawal5067 2 роки тому

    Hi, can you please show an example of multilevel sidebar navigation up to 3 level in react. :)

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

    At 36:00, when I created all the sidebarData, sideMenu and all, and refresh the page, My data of sidebarData like Overview, reports and etc doesn't show up. Please help me and tell me where I could be wrong

  • @reaganaustin5968
    @reaganaustin5968 3 роки тому

    Great tutorial! Do you know any way to make it so that when you click on the tabs to open the drop down menus it stays on the same page and opens the submenu instead of going to its own page?

    • @briandesign
      @briandesign  3 роки тому

      Just remove the link from the main menu and turn it into a div

  • @milanpandey7398
    @milanpandey7398 3 роки тому +1

    How would you close one dropdown when the other is open?

  • @vasifmammadov5236
    @vasifmammadov5236 3 роки тому +1

    Class perfect, but to be honest I didn't like "styled. component" tool it is not readable and I confuse about which one is it.

  • @jv18creator
    @jv18creator 3 роки тому +4

    35:47 what's key for?

  • @lauencepulido1989
    @lauencepulido1989 3 роки тому

    Hi, How to close other open submenu when clicking to another menu. tnx

  • @teejay1799
    @teejay1799 3 роки тому

    Hi Brian...Great tutorial and great learning. One problem I am facing. When the number of menu items is high and doesn't fit in a page, the items don't scroll down. Am I doing something wrong or can you or anyone else help me with a solution please? Many thanks!!!

    • @sonynguyen4954
      @sonynguyen4954 2 роки тому

      b.c its position is fixed. try to make it absolute or in real case the content will be longer than the navbar so I think it's not a problem I think so

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

      @@sonynguyen4954 Wrong, add a scrollbox in your css.

  • @gismo1337dev
    @gismo1337dev 3 роки тому

    How to prevend the menu of closing right after click?

  • @CrookzArtwork
    @CrookzArtwork 3 роки тому

    Thaks for sharing friend

  • @victornwanguma2427
    @victornwanguma2427 3 роки тому

    Please which theme are you using, please everything in detail. Thanks in advance

  • @aishakhan0925
    @aishakhan0925 3 роки тому

    Very usefull

  • @Gangbuster74
    @Gangbuster74 3 роки тому

    Brother which color theme do you use for Vscode?

  • @poojasutar9995
    @poojasutar9995 3 роки тому

    How to highlight active menu in same sidebar. I tried with id =active but its not working

  • @CarlosDiaz-ed9po
    @CarlosDiaz-ed9po 2 роки тому

    buenas como puedo hacer esa barra con next js ?

  • @Johnne1625
    @Johnne1625 3 роки тому

    Is there a way to have it expand the drop-down without changing the route for the top level item? IE: You want to go to Report2, but you first navigated to Report then to Report2 when selected.

    • @briandesign
      @briandesign  3 роки тому +1

      you can remove the link from Report and just turn it into a div, so it's basically just an open and close button, then all your routes would just be the sub menus

    • @Johnne1625
      @Johnne1625 3 роки тому

      @@briandesign Fantastic, worked perfectly. Also, that was the fastest response on video comment I have ever seen.

    • @briandesign
      @briandesign  3 роки тому

      @@Johnne1625 glad it worked! and thanks haha, I usually check for comments every few hours

    • @AtifKhan-cm8qv
      @AtifKhan-cm8qv 3 роки тому +1

      @@briandesign thank you so much it worked, the only problem is the other menus that doesnt have submenus doesnt have link anymore pls help 🙏 also i tried to add some transition and smoothness on the dropdown but doesnt seem to be getting anywhere!

    • @raidenc9846
      @raidenc9846 2 роки тому

      @@AtifKhan-cm8qv I'm having a similar issue, looks like the explanation is not clear enough from the video and comments.

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

    how do i change the position of the icon. the icons are above the label

  • @sonam6652
    @sonam6652 3 роки тому

    How can one highlight the selected menu item to know the current page?

  • @susanbasnet3831
    @susanbasnet3831 2 роки тому

    hay how can we show only one dropdown menu at a time like if you have open report and now you want to open a message. you click on message and now your report will hide and only messages list will be show

  • @adampippo
    @adampippo 3 роки тому +1

    How to make the sidebar scrollable when you have a lot of side menus?

    • @AshutoshandAnurag
      @AshutoshandAnurag 3 роки тому +3

      add this in css and it will work
      { overflow : auto;
      }

    • @basantesn1
      @basantesn1 3 роки тому

      @@AshutoshandAnurag but how to scroll without the vertical bar appearing?

    • @ShahbazKhan-zl2zt
      @ShahbazKhan-zl2zt 3 роки тому

      @@AshutoshandAnurag thank you so much you are the life saver

    • @asepfikri7358
      @asepfikri7358 2 роки тому

      @@AshutoshandAnurag please let me know where should I put this overflow auto

  • @thedeveloper9896
    @thedeveloper9896 3 роки тому +1

    how to add transition to when you click to open the dropdown? i really tried to make it smooth. also anyway to not go to the link when there is dropdown and u click the main root? cuz thats not how dropdowns work man.... there should only be link when u click the items on the dropdown or when theres no dropdown and u click the sidemenus

  • @reaganaustin5968
    @reaganaustin5968 3 роки тому

    Hey is there a way to make it so that the navbar at the top is fixed to the top of the screen so you can't scroll down and it disappear?

  • @atnguyenucchi9776
    @atnguyenucchi9776 2 роки тому

    i have problem when i open sidebar the page will be hide , what can i do to fix problem?

  • @pedromanuelcamargomendez6520
    @pedromanuelcamargomendez6520 3 роки тому

    Thank good videos. Please scroll sidebar.

  • @arvinlanuza1473
    @arvinlanuza1473 3 роки тому

    what if function instead of path? example: logout button you put a sidebar. instead using path, function logout triggred when you push the logout button in a sidebar

  • @rachaelklein694
    @rachaelklein694 3 роки тому

    I'm busy doing this in a Typescript and React with Node.js project but for some reason the Key and Item. Specifically speaking about the "item." does not pick up on the title/icon etc from the object data. Not sure why and now, I am stuck... everything till then has worked amazingly, until i hit this... sigh.

  • @toeytoey7401
    @toeytoey7401 3 роки тому

    if i want submenu in submenu how i can do that ??

  • @davidhahn7391
    @davidhahn7391 3 роки тому

    awesome stuff! do you have a github?