Chakra-UI Hamburger Navigation Menu (with Next.js)

Published: 08 April 2021
on channel: Benjamin Carlson
23,102
438

Learn how to make a hamburger navbar using chakra! Chakra does not come with an out of the box solution but we can easily use useState and css display to create one! You can easily change the look and feel of the nav bar by styling the Flex or Box elements, and easily use framer motion to add some animation!

Helpful links:
Read this post on coffeeclass.io!: https://www.coffeeclass.io/snippets/c...
Get the starting code: https://github.com/vercel/next.js/tre...

0:00 Introduction
0:09 Channel Announcement
0:30 Introduction Continued
1:23 Importing Everything We Need
1:49 Creating The Desktop Navigation
4:23 Adding The Hamburger Nav Button
5:43 Creating The Mobile Navigation
7:37 Using useState To Dynamically Open And Close The Mobile Menu
9:35 Conclusion

My Coding Gear:
⌨️ Keyboard - Apple Magic Keyboard - https://amzn.to/3g8A8QI
💻 Laptop - Apple MacBook Pro (2018 / 15 inch) - https://amzn.to/3wddJHL
🖥️ Monitor - Samsung CF390 Series - https://amzn.to/3pDc9fO

My Camera Gear:
📹 Camera - Canon EOS M50 - https://amzn.to/3ixAZfq
🔭 Awesome Camera Lens - Sigma (16mm / f1.4) - https://amzn.to/3pH1K2B
🎤 Microphone - Blue Yeti - https://amzn.to/2TdXLyq
💡 Lights - Neewer LED Lights - https://amzn.to/3gbm6ht

My Favorite Software:
📽️ Final Cut Pro - https://www.apple.com/final-cut-pro/
❗ Student Discount For FCP - https://www.apple.com/us-hed/shop/pro...
🚀 VSCode - https://code.visualstudio.com/

View All My Gear - https://benjamincarlson.io/gear

Support Me:
👨🏼‍💼 Join this channel to get access to perks -    / @benjamincarlson  
💸 Sponsor me on GitHub - https://github.com/sponsors/bjcarlson42

Who Am I?
I’m Benjamin Carlson, a developer, student, and YouTube creator living in CT, USA. I make videos on programming, computer science, and productivity. I also started a programming tutorial website called Coffeeclass (https://coffeeclass.io) that complements this YouTube channel. Finally, I have a newsletter (https://buttondown.email/benjamincarlson) where I send out updates on my recent videos, writing, and anything I’m currently working on or find interesting. You can expect emails every 2 to 3 weeks.

Connect With Me:
📧 Email - [email protected]
🚅 Website - https://benjamincarlson.io
🐦 Twitter -   / bjmncrlsn  
🚀 Github: https://github.com/bjcarlson42
💼 LinkedIn -   / bjcarlson42  
✍️ Medium -   / benjamincarlson  
📓 Newsletter - https://buttondown.email/benjamincarlson

If you need to contact me, the best way is email. I try to respond to everyone but it may take some time!

Disclaimer: Some of the above links are affiliate links. This means I may receive a small commission at no expense to you. This allows me to continue to post videos like this one!

#chakra #nextjs


On this page of the site you can watch the video online Chakra-UI Hamburger Navigation Menu (with Next.js) with a duration of hours minute second in good quality, which was uploaded by the user Benjamin Carlson 08 April 2021, share the link with friends and acquaintances, this video has already been watched 23,102 times on youtube and it was liked by 438 viewers. Enjoy your viewing!