Navigation
Navigation bar
The navigation bar is the row of three to five destinations at the bottom of a phone screen; use it to move between a product's top-level sections.
In kanso-ui as NavigationBar
Live in kanso-ui
NavigationBar from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- Use it on phones and on windows narrower than 840px, for 3 to 5 top-level destinations of equal weight: Home, Payments, Sessions, Events, Tasks.
- On windows 840px and wider, use NavigationPane: the same destinations, in the same order.
- To switch views inside one destination (Payments, Members, Settings), use Tabs. To add something, use the FAB (
k-fab) above the bar: actions never go in the bar.