How to better design website layouts and elements - Part 2
Continuation from Part 1... Let's look at a few more elements.
The navigation bar is one of the most important website elements. Some designers make this confusing by over-styling it. A navigation bar is supposed to guide the user not confuse them. Keep it simple and follow best practices.
Best navbars are:
- Easy to understand
- Only includes main links
- Categorizes links with dropdown
- Consistent across all pages
Bad navbars are:
- Takes some time to realize that is a navbar
- The whole navbar is filled with links
- Occupies 1/4 part of the website
Types of navigation menus/bars:
- Horizontal top or bottom menu
- Vertical left or right menu
- Hamburger menu
This was the most used navbar design so far. Where we put the brand logo on the left and links on the right side of the navbar.
This type of nav is often seen in web apps. Not many websites use this. But very popular in the mobile app world.
Verticle nav is also mostly used in web apps. Often vertical nav is mixed with top nav. We often find left navigation in documentation websites, e-commerce websites, and web apps.
Most websites use the hamburger menu to hide nav elements on small screens but some websites use the hamburger menu by default.
This was the bottom-most part of the website. Some websites with infinite scrolling put a footer on right or left and some websites don't even consider having a footer.
Most websites use the footer as second navigation by putting all the quick links in there. There is no standard design style for the footer, design however you want just make sure you include some must-have things.
Must have things in the footer:
- Copyright notice
- Other legal stuff
Optional but good to have:
- Social links
- Quick links
- Newsletter form with max two inputs
Inputs are what differentiated web 1.0 and web 2.0. Same as a button input has different stages.
- Attract the visitor
- Tell the visitor they are in the input field
- Give feedback
1. Attract the visitor
Unlike the button, the input doesn't have fixed styling. You have flexibility over styling.
2. Tell the visitor they are in the input field
This step may not be possible for all the input types. But for some input types highlight the border or something appropriate to that input type.
3. Give feedback
Here feedback is of two types.
- Live feedback - Give feedback as the user types in. Often seen in text input type.
- Feedback after submitting - Give feedback after the form submission.
I covered some of the important elements I have seen people doing wrong. Feel free to research more if you are interested.
LEAVE A COMMENT OR START A DISCUSSION
11 min read
Let's learn about APIs and how to create and sell one
If you are in tech, then you may have heard this popular term called "API". Some people use APIs for fun, some for money, and some for their applications. There are N ways you can use APIs. In this blog, let's learn what exactly is an API, how you can build your own API, and how you can monetize your API.
3 min read
Web 2.0 app architecture Vs Web 3.0 app architecture
If you are switching from web2 to web3 or if you want to learn web3 then you may have doubts about how web3 is different from web2? Are there any similarities? Can I directly jump into web3 without knowing web2 stuff?. So, in this blog, get answers to your questions by learning the architectures of both.