This is one of the most important components for all websites and applications. Without good navigation the content cannot be discovered by the user, nor the user will be able to navigate between your pages with ease. WFP UI offers several navigation patterns, depending on the use case.
Menu
This menu is very versatile and can use groups. You can use this menu to create blocks of links, i.e.: for the sidebar.
Notice
Menus can be displayed without surrounding borders, using wfp-menu-plain class instead of wfp-menu.
Menu headings can be also displayed as a link, using a.menu--link element instead of span.menu--item.
To highlight active menu items, add current class to a.menu--link nodes.
Preview
Markup
Inline Menu
The same menu as in previous example, but used together with grids, to create more complex designs, such as horizontal groups of links for the footer.
Notice
This menu can be displayed without surrounding borders by using wfp-menu-plain class, instead of wfp-menu.
Preview
Markup
Segmented Controls
This pattern is useful for when you need to display a set of controls with an indicated active state, or a group of links related to each other.
Breadcrumbs are a special kind of segmented control component; a simple and minimal way to give users a hint at your site or application’s structure. They also provide an important context in relation to user’s current location within your content. Breadcrumbs should be displayed just below the header, possibly on their own, with appropriate spacing to stay visible.
You can use a dark variant of breadcrumbs, by replacing class wfp-breadcrumbs with wfp-breadcrumbs--dark. Dark breadcrumbs should only ever be used against unpredictable backgrounds, such as splash screens, etc.
Preview
Markup
Preview
Markup
TIP
Breacrumbs use the home icon from the WFP UI icon set. See the User Interface icons page for more information.
Pagination
Pagination is very useful pattern that allows users to browse through available content when it is grouped into manageable chunks: pages. You can use any size available for the buttons.