The transformicons design concept — which I’ll talk about in just a bit — adds to the navicon by smoothly transitioning it to another icon after it’s clicked.
Here’s the navicon on YouTube (mobile version):
Here’s the navicon on Squarespace:
And for good measure, here’s another navicon example on AWARD:
The problem I see in the examples above is this: After clicking the navicon the first time, the icon remains the same, even when the resultant event will be different the next time you click it.
Think of a light switch. It’s one button that commands two distinct events:
- Turn the light bulb on
- Turn the light bulb off
The condition is the same with navicons. The icon can issue two events too:
- Show the menu
- Hide the menu
An alternative UI design approach would be to substitute the navicon with another icon to give users an appropriate visual hint for each unique event.
You can see this design concept in a demo called Navicon Transformicons by Bennett Feely.
The navicon transformicons demo uses SCSS and jQuery, but you should be able to replicate the concept with your own preferred method:
See Navicon Transformicons on CodePen
This is great because:
- It gives the user a visual hint that the resultant event will be different next time the icon is clicked (show the menu or hide the menu)
- It’s semantic — one icon symbolizes one event
- The animated transition helps draw attention to the changed state of the navicon
Here’s how it could look in one of the examples I used above:
If you want to keep the navicon without transitioning it into another icon, even a slight modification to the icon’s appearance — like changing its color or giving it a different background — would work.
What do you think?
- Andy Clarke’s discussion of our need for a standard navigation icon. He states in the post: “Unless our navigation’s arranged in a grid (and so we should use a grid icon), I’m putting my weight behind three lines because I think it’s most recognisable as navigation to the average person.“
- The navicon term, as far as I know, originated from one of Jeremy Keith’s blog posts
- Read about the Navigation Drawer design pattern on Android Developers