Patterns
App shell and navigation
The shell is what stays put while the content changes: how the person moves between a product's sections, finds things and starts the main action. Kanso uses adaptive navigation, a bar on narrow windows and a pane on wide ones, and a calm web shell.
Phones (compact and medium)
- Top bar: an
AppBarwith the signed-in person'sAvatarat the start, search and notifications asIconButtons at the end. Inside a section, it carries a back button and a "More" menu. - Page title block: the date line in
t-label, the title int-headline. - Navigation bar: a
NavigationBarat the bottom with three to five destinations, icon and label, the current one with an ink pill, a filled icon and a bold label. - FAB: a
Fababove the bar, at the end, for the main creation action.
Web (expanded and large)
- App bar: the product's accent square and name in the voice face; the
SearchFieldpill; at the end the ink "Add" button, notifications and the avatar. - Navigation pane on the left, 248px: the same destinations, the current one lifted on surface with the accent bar; below, a short list of places the person returns to. NavigationPane is coming;
NavigationRailholds the destinations on wide windows today, andNavigationTreea deeper list. - Content in the middle, the side column at the end for the spotlight and the quick-entry form (
SupportingPane).
Example destinations
Home (home), Payments (payments), Sessions (timer), Events (event), Tasks (checklist).
Rules
- Do keep the same destinations, in the same order, on every size.
- Do keep labels visible on the navigation bar: icons alone are not enough.
- Do put search where it is on every Kanso product: at the end of the top bar on phones, the middle of the app bar on the web.
- Don't hide primary destinations in a menu, or put actions in the navigation bar.
- Don't show the FAB and the app bar's "Add" button at the same time.
Components
AppBar, NavigationBar, NavigationPane (coming; NavigationRail and NavigationTree today), SearchField, Fab, Tabs, Breadcrumbs, Menu.