Menus, Toolbars and Palettes
Level 3 · Finding your way
One command, many ways in. Toolbars for what people do most, and menus for the rest. A command palette lets you type the name of any action.
Course contentsLesson 9 of 14
Level 1 · Parts and their states
Level 2 · Getting answers in
Level 3 · Finding your way
Level 4 · Layers, messages and waiting
Level 5 · Showing many things
After this lesson you can
- Put the top commands in a toolbar
- Use a context menu without hiding things
- Explain what a command palette is for
10 mincovers 4 glossary entries
Worth reading first: Tabs, Pagination and Steps
How many ways people should have to reach a command
A good app gives its main commands more than one way in, and at least one of them is in plain sight. A toolbar shows the few jobs people do most. A dropdown menu holds the rest. A command palette, often opened with Ctrl and K, lets people type the name of any action.
A toolbar is a strip of buttons along the top of a window or a document. It is where a newcomer looks first. Keep it to the jobs people do most often, perhaps six to ten. A toolbar with forty icons is a puzzle, not a shortcut.
A dropdown menu is a list of commands that drops down from a button or a word, such as File. Pick one, and it closes. Menus keep the screen tidy, because dozens of commands fit behind one word. The cost is that people have to guess which word holds the command they want.
A context menu opens on the thing itself. You right-click a file on a computer, or press and hold it on a phone, and a short list appears with what you can do to that file. It is fast for people who know about it. Many people never try it, so nothing should live only there.
A command palette is a search box for commands. You press a key pair, type a few letters such as exp, and pick Export as PDF from the matches. Code editors and many design tools have one. It is the fastest way in for experts, and it saves them hunting through menus.
These ways in work best as a set. A newcomer finds Export in the toolbar. A regular user learns it is under File. An expert types it. Showing the keyboard shortcut next to each menu item helps people move from the slow way to the fast one.
The common mistake is to put a command in just one hidden place, such as a right-click menu or a shortcut. Then most users never find it. They think the app cannot do it. Every key command needs at least one door you can see.
One command, three doors
In the toolbar
In a menu
By typing
A hidden door is a shortcut for the second visit, never the only way in.
Reach the same command three ways. The toolbar button is the one a stranger finds.
Reach Export as PDF from the toolbar, from the File menu and by typing. The toolbar button is the one a stranger finds.
Worked example
A drawing app finds a lost feature
A drawing app's users kept asking for a way to flip an image. It already existed, but only in the right-click menu.
The team added a Flip button to the toolbar and listed it in the command palette. Requests for the feature stopped within a month.
The words for this lesson4
Check yourself
Why is it bad to hide a key command in a right-click menu only?
Finished this lesson?
Marking it complete also marks its 4 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.