Navigation
Navigation pane
The navigation pane is the column on the left of a product on the web that holds the top-level destinations and, below them, the person's projects; it replaces the navigation bar on windows 840px and wider.
Designed, coming to kanso-ui
Variants and sizes
- Destination:
k-pane__itemwith an icon. - Project:
k-pane__itemwith a group avatar andk-pane__trail. Money coming to the person ispositivewith a +: put the figure in ak-figure--positivespan insidek-pane__trail, becausek-pane__trailsetsinkitself. An ordinary payment out staysinkwith a −. - Heading:
k-pane__heading, anh2before each section that follows the destinations.
States
- Rest: label and outlined icon in
ink-muted, flat onpaper. - Hover: a
surface-sunkenfill and the label inink. - Current (
aria-current="page"): lifted tosurfacewithshadow-1, theaccentselection bar, a filled icon (k-icon--fill) and the label ininkat weight 600. Four cues, never colour alone. - Focus: the 2px
focus-ring, 2px outside the item.
Do and don’t
Do
Keep the destinations in the same order as the navigation bar.
Keep project names short enough to share a line with the figure.
Sign every balance: + for money coming in, − for money going out.
Don’t
Mark more than one item current.
Spend
accentanywhere else in the pane: the selection bar is its one use.Collapse the pane to icons only; below 840px, use the NavigationBar.
What you provide
- Destinations: label, icon name, link, and which one is current.
- Sections: the heading and its items; for each project, its name, initial, signed balance and the spoken name for that balance.