Sidebars¶
A sidebar is a vertical panel which contains a list of different views, which can be switched between. Visually, sidebars are similar to utility panes, but they play a different role and have different behavior.
When to Use¶
Sidebars can be used when it is necessary to expose a larger number of views than can be accommodated in a standard view switcher.
Sidebars can also be appropriate when it is necessary to navigate between dynamic locations, such as in a messaging app. They can also be suited to contexts where frequent switching back and forth between locations is common.
Sidebars should be avoided for apps which provide rich or immersive content. In this situation, the sidebar would be a distraction from application content.
Guidelines¶
Order the list according to what is most useful for the users of your application. Sidebars which contain a large number of dynamic items will often need to be ordered so that recently updated items are at the top of the list.
Header bar controls which affect the sidebar list should be placed above the list.
Each list row can include multiple lines of text, as well as images. However, be careful to ensure that the most important information is not lost, and work to ensure a clean and attractive appearance.
To be adaptive, sidebars need to switch to be a separate top-level view when the window becomes narrow. This can be accomplished with a leaflet.